These components wrap primitive inputs with validation behavior.
<rl-textbox ng-model="" validator="" label="" name=""> ... </rl-textbox>
See textbox for options specific to textbox inputs. Also can attach rl-required to add required field validation with an error message.
Two-way binds the specified value to the input value. See ng-model.
A handler for applying custom validation logic to an input component. Model:
{
validate(): boolean;
errorMessage: string | { (): string };
isActive?: boolean | { (): boolean };
}
The label is used as the placeholder for the textbox. When the user enters a value, the label 'flowers-up' to above the textbox.
Applies a name to the ng-model for the component. If none is specified, defaults to input-{{guid}}
.
Other inputs: