Kara
2291929a15
feat(forms): add control status classes to form groups ( #10667 )
2016-08-11 09:01:09 -07:00
Alex Eagle
6f4ee6101c
chore(imports): don't import ExceptionHandler from facade ( #10620 )
...
This lets us skip src/facade/exception* when compiling modules other than core.
It prevents having many conflicting declarations
2016-08-10 15:55:18 -07:00
Kara
fcafdff10b
feat(forms): allow both patching and strict setting of values ( #10537 )
2016-08-05 13:35:17 -07:00
Jason Choi
99989f5d3f
chore(facade): remove most facade/async functions
2016-08-05 12:26:28 -07:00
Chuck Jazdzewski
9925aa89dc
fix(compiler): Report references to non-exported symbols.
...
Includes fixes to places now reported as errors.
Part of #8310
2016-08-03 15:42:38 -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
Misko Hevery
91c64d2b8d
fix: missing export for validators
2016-08-02 12:12:15 -07:00
Kara
d6d4568830
fix(forms): allow arrays as parents ( #10440 )
...
Closes #10432
2016-08-02 09:40:42 -07:00
Kara
e0eea6c2f4
feat(forms): add invalid prop to abstract controls ( #10439 )
2016-08-01 18:41:25 -07:00
Victor Berchet
28c4852cd6
refactor: remove ts2dart annotations
2016-08-01 11:34:51 -07:00
Marc Laval
b48f7bcb8d
fix(forms): normalize written value in NumberValueAccessor
...
Closes #10379
2016-07-29 18:18:30 +02:00
Kara
7c76a75452
fix(forms): update dirty before emitting value change ( #10362 )
...
Closes #5328
2016-07-28 14:25:33 -07:00
Kara
43349dd373
fix(forms): improve ngModel error messages ( #10314 )
2016-07-27 10:59:40 -07:00
Kara
0aba42ae5b
fix(forms): throw error if wrong control container for reactive forms ( #10286 )
2016-07-26 10:08:46 -07:00
Victor Berchet
b652a7fc9f
chore: remove obsolete files ( #10240 )
2016-07-22 16:18:31 -07:00
Kara
34feecf60e
fix(forms): improve no value accessor error message ( #10051 )
2016-07-13 14:13:02 -07:00
Kara
da8eb9f8b8
feat(forms): add ability to reset forms ( #9974 )
...
Closes #4914
Closes #4933
2016-07-12 15:02:25 -07:00
Kara
30a332ee36
feat(forms): updateValue() for form groups and form arrays ( #9901 )
...
Closes #9553
2016-07-08 13:04:25 -07:00
Patrice Chalin
749dec7dfb
doc(api): fix invalid doc links ( #9873 )
...
Errors were reported during API doc generation.
2016-07-07 23:02:35 -07:00
Rob Wormald
3cbded6694
fix(forms): use change event for select multiple ( #9713 )
2016-06-30 20:24:39 -07:00
Kara
695c08b9dd
test(forms): add test for multi-select and custom accessors ( #9624 )
2016-06-30 18:04:00 -07:00
Michael
afb72164e4
fix(docs): typo in comments ( #9743 )
...
correct a typo in comments
2016-06-30 15:18:41 -07:00
Kara
0961bd1eff
feat(forms): use formControlName on radio buttons when name is absent ( #9681 )
2016-06-28 15:21:53 -06:00
Igor Minar
24eb8389d2
fix: public api surface fixes + stability markers
...
- ts-api-guardian will now error if a new public symbol is added with a stability marker (`@stable`, `@experimental`, `@deprecated`)
- DomEventsPlugin and KeyEventsPlugin were removed from public api surface - these classes is an implementation detail
- deprecated BROWSER_PROVIDERS was removed completely
- `@angular/compiler` was removed from the ts-api-guardian check since this package shouldn't contain anything that users need to directly import
- the rest of the api surface was conservatively marked as stable or experimental
BREAKING CHANGES: DomEventsPlugin and KeyEventsPlugin previously exported from core are no longer public - these classes are implementation detail.
Previously deprecated BROWSER_PROVIDERS was completely removed from platform-browser.
Closes #9236
Closes #9235
Ref #9234
2016-06-28 07:39:40 -07:00
Kara
ed0ade6f34
fix(forms): make radio button selection logic more flexible ( #9646 )
...
Closes #9558
2016-06-27 15:29:33 -06:00
choeller
eef9512ce6
fix(forms): async validator-directives process Observables correctly ( #8186 )
...
Closes #/8022
2016-06-26 16:52:50 -06:00
Marek Buko
9f00a1b902
fix(forms): add select multiple accessor as built-in accessor
2016-06-26 16:24:27 -06:00
Kara Erickson
c03e1f2f59
feat(forms): add support for formArrayName
...
Closes #9251
2016-06-25 13:30:53 -07:00
Kara Erickson
de127109f9
feat(forms): make valueChanges and statusChanges available on abstract control directives
2016-06-24 14:37:19 -07:00
Kara Erickson
97a2119596
fix(forms): ngModel should emit valueChanges and statusChanges asynchronously
2016-06-24 12:37:46 -07:00
Kara Erickson
6edf0474cc
feat(forms): add support for standalone ngModel dirs inside forms
...
Closes #9230
2016-06-23 10:16:47 -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
8e6e90e703
fix(forms): ngModel should export as ngModel
2016-06-15 17:46:45 -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