Adds a validator function to the control. Returns an error object, or null if there are no errors. to the control.
The validator function to add.
OptionaltypeAttribute: stringThe type attribute with which the form control is associated.
A function that removes the validator.
Gives the ID of the element that is showing a validation message for the control. Returns the ID for the element that is showing a validation message for the control. Returns undefined if there is no message shown.
The id of the element that is showing a validation message for the control or returns undefined if there is no message being shown.
Runs a callback when the the control's show invalid state changes.
OptionaltypeAttribute: stringThe type attribute with which the form control is associated.
A function that removes the callback.
Runs a callback when the the control's validity changes.
A callback that is invoked with the valid state.
OptionaltypeAttribute: stringThe type attribute with which the form control is associated.
A function that removes the callback.
Resets the form control, marking it pristine and untouched.
OptionaltypeAttribute: stringThe type attribute with which the form control is associated.
An API of methods and properties for forms on a multiple value control.