TextBox (Angular)
This guide demonstrates how to use the TextBox component.
TextBox Properties
Name | Type | Default | Description |
---|---|---|---|
Name | string | ‘textbox’ + index suffix | Unique name of the TextBox. |
Value | string/expression | null | TextBox value. |
Placeholder | string | empty | TextBox placeholder. |
ReadOnly | boolean/expression | false | Is TextBox read-only. |
Disabled | boolean/expression | false | Is TextBox disabled. |
Visible | boolean/expression | true | Is TextBox visible. |
For more info about expressions please visit expressions in our documentation.
TextBox Events
Name | Type | Default | Description |
---|---|---|---|
Change | event | null | Change event of the TextBox. New value as event argument. |
For more info about event actions please visit event actions in our documentation.
Angular declaration
<rz-textbox #textbox0 placeholder="Enter here ..." (change)="textbox0Change($event)">
</rz-textbox>