fix(forms): provide a method to compare options (#13349)

Closes #13268

PR Close #13349
This commit is contained in:
Dzmitry Shylovich
2016-12-10 00:10:40 +03:00
committed by Miško Hevery
parent 6c7300c7de
commit f89d004c51
5 changed files with 372 additions and 76 deletions

View File

@ -499,6 +499,7 @@ export declare class RequiredValidator implements Validator {
/** @stable */
export declare class SelectControlValueAccessor implements ControlValueAccessor {
compareWith: (o1: any, o2: any) => boolean;
onChange: (_: any) => void;
onTouched: () => void;
value: any;
@ -511,6 +512,7 @@ export declare class SelectControlValueAccessor implements ControlValueAccessor
/** @stable */
export declare class SelectMultipleControlValueAccessor implements ControlValueAccessor {
compareWith: (o1: any, o2: any) => boolean;
onChange: (_: any) => void;
onTouched: () => void;
value: any;