Controls
Textbox
The Textbox control is used to enter text into a text field or textarea.
Example
Parameters
Name | Type | Description |
---|---|---|
placeholder | string | Shows a greyed out text that will disappear when new text is entered |
min_len | int | An error will be shown if less than min_len characters are entered. Default 0 |
max_len | int | An error will be shown if more than max_len characters are entered. Default 1024. |
rows | int | If more than one a resizable text area will be rendered. |
regex | string | If input doesn’t match regex then an error will be shown. |
note
The textbox will always return a string as value. So if numbers or JSON is expected it must be transformed at the receiver or during execution.