fix(forms): Export the NG_VALUE_ACCESSOR binding token.

This is needed to allow component authors to implement custom ControlValueAccessors for their input components.
This commit is contained in:
Alex Rickabaugh 2015-11-02 11:35:47 -08:00
parent b84855f394
commit fee5dea826
2 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,7 @@ export {NgControl} from './forms/directives/ng_control';
export {NgControlGroup} from './forms/directives/ng_control_group';
export {NgFormModel} from './forms/directives/ng_form_model';
export {NgForm} from './forms/directives/ng_form';
export {ControlValueAccessor} from './forms/directives/control_value_accessor';
export {ControlValueAccessor, NG_VALUE_ACCESSOR} from './forms/directives/control_value_accessor';
export {DefaultValueAccessor} from './forms/directives/default_value_accessor';
export {NgControlStatus} from './forms/directives/ng_control_status';
export {CheckboxControlValueAccessor} from './forms/directives/checkbox_value_accessor';

View File

@ -821,6 +821,7 @@ var NG_ALL = [
'LowerCasePipe',
'LowerCasePipe.transform()',
'NG_VALIDATORS',
'NG_VALUE_ACCESSOR',
'NG_ASYNC_VALIDATORS',
'NgClass',
'NgClass.doCheck()',