Text Box
Overview
A visible component for user input. To use multiple lines as input use Multi Line TextBox component
Component Properties
| Property | Description |
|---|---|
| type | It defines the kind of input that the TextBox should accept. It determines the appearance and behavior of the TextBox. |
| Text | It is used to set a default or initial value for a TextBox. It pre-fills the field with a specified value that users can either accept as is or modify. |
| Hint | It is used to provide a short hint or example of the expected input format inside the TextBox. It is a user-friendly way to guide users on what kind of information is expected in a particular TextBox without taking up extra space on the page. |
Blocks
Events
On Text Changed
fires whenever user enter text
loading block...
| variable | type | description |
|---|---|---|
| value | String | The changed text |
Got Focus
fires when user focus on the textbox
loading block...
Lost Focus
fires when this textbox lost focus
loading block...
Properties
value
Accepts: String
sets the textbox value
loading block...
text
Returns: String
gets the textbox value
loading block...
hide
Accepts: Boolean
Hides the component if the input is true and shows it if the input is false
loading block...
hidden
Returns: Boolean
Returns true if the component is hidden and false if it is not
loading block...