Dzmitry Shylovich
551fe50ebd
feat(forms): introduce AsyncValidator interface ( #13483 )
...
Closes #13398
2017-02-20 16:26:51 -08:00
Dzmitry Shylovich
d69717cf79
feat(forms): add email validator ( #13709 )
...
Closes #13706
PR Close #13709
2017-01-29 12:07:05 -06:00
Dzmitry Shylovich
2bf1bbc071
fix(forms): introduce checkbox required validator
...
Closes #11459
Closes #13364
2016-12-14 08:44:24 -08:00
Miško Hevery
16efb13dd1
fix: display framework version on bootstrapped component ( #13252 )
2016-12-06 16:21:07 -08:00
Kara
fa4723a208
docs(forms): add radio button examples ( #11676 )
2016-09-19 10:41:20 -07:00
Igor Minar
501b83441d
refactor(forms): remove FORM_PROVIDERS, FORM_DIRECTIVES, REACTIVE_FORM_PROVIDERS, REACTIVE_DIRECTIVES
...
All of these have been replaced by FormsModule and ReactiveFormsModule.
2016-08-25 13:29:03 -07:00
Kara
2291929a15
feat(forms): add control status classes to form groups ( #10667 )
2016-08-11 09:01:09 -07:00
Patrice Chalin
6195a45ae2
fix(forms): export AbstractFormGroupDirective
...
Because
- `Form` is **exported** -- see line 30/31 of
`modules/@angular/forms/src/forms.ts`: i.e., <br>`export {Form} from
'./directives/form_interface'`; and
- Methods of `Form`, which are public, have an
`AbstractFormGroupDirective` parameter;
e.g.,<br>`Form.getFormGroup(dir: AbstractFormGroupDirective):
FormGroup`.
Then it makes sense for `AbstractFormGroupDirective` to be
public/exported too. In any case, if it isn't exported then the **API
docs for `Form` don't get generated properly.**
2016-08-03 15:33:29 -07:00
Kara
d6d4568830
fix(forms): allow arrays as parents ( #10440 )
...
Closes #10432
2016-08-02 09:40:42 -07:00
Kara
695c08b9dd
test(forms): add test for multi-select and custom accessors ( #9624 )
2016-06-30 18:04:00 -07:00
Kara Erickson
c03e1f2f59
feat(forms): add support for formArrayName
...
Closes #9251
2016-06-25 13:30:53 -07:00
Kara Erickson
17dcbf66b9
feat(forms): expose ValidatorFn and AsyncValidatorFn
...
Closes #8834
2016-06-24 18:24:11 -07:00
ScottSWu
ae75e3640a
chore(lint): Added license headers to most TypeScript files
...
Relates to #9380
2016-06-23 09:47:54 -07:00
Kara Erickson
39e0b4903c
feat(radio): support radio button sharing a control
2016-06-15 15:27:34 -07:00
Kara
22916bb5d1
feat(forms): add easy way to switch between forms modules ( #9202 )
2016-06-14 18:23:40 -07:00