angular-training-slides
angular-training-slides copied to clipboard
Template Driven Forms Discussion
Some comments from @jamesbs. We can discuss as a team what points we could add.
@gvwilson @winkerVSbecks @rpdasilva, please pitch in.
- #/template-forms-ngmodel-1
- type of value property for fields flagged with ngModel, maybe make a mention of this
- depends on type field of input?
- text = string
- color = hex as string
- num, range = number
- date = string
- type of value property for fields flagged with ngModel, maybe make a mention of this
- #/template-forms-built-in-validators
- Built-In Validators -> should be html5 validators or standard validators
- built-in can be interpreted as built-in angular validators
- difference between built-in html5 validators and angular validators, what does angular add? integrated into formcontrol property values
- Built-In Validators -> should be html5 validators or standard validators
- #/template-forms-ngform
- form values take what shape? object key=name of element, value is value of that input
- creating template driven forms should be something like "Importing/bringing in form elements/ingredients"
- #/template-forms-performing-validation
- might want to have a note (or presenter's note) describing the oddity of two ngModel references
- handling form data title should be something like:
- integrating angular / integrating into a plain html form
- template variables slide seems unnecessary
- first "Styling the form" title should be something like "FormControl States"