Appearance
jio-textarea
Props
| Prop name | Description | Type | Values | Default |
|---|---|---|---|---|
| id | An ID must be provided | string | - | |
| isInvalid | Whether the input should be rendered as invalid@values true, false (default)@see invalidText | boolean | - | false |
| invalidText | If an input is set to 'invalid', what text to display@values Text for invalid entry (optional)@see isInvalid | string | - | "Vul alstublieft het veld in." |
| isValid | Whether the input should be rendered as valid@values true, false (default) | boolean | - | |
| placeholder | The optional placeholder text to be rendered | string | - | |
| type | The optional type of the input | string | - | |
| labelText | An optional text for the label. If not set, the label will not be displayed. @values Text for label. | union | - | |
| startIcon | An optional icon for the input, this icon will be shown at the front. If not set, the icon will not be displayed. @values Text for label. | union | - | |
| endIcon | An optional icon for the input, this icon will be shown at the end. If not set, the icon will not be displayed. @values Text for label. | union | - | |
| maxLength | The optional maximum length of the input value | number | - | 1024 |
| maxHeight | The optional maximum height of the input value | number | - | |
| defaultHeight | The optional default height of the input value | number | - | 42 |
| required | Whether the input is a required element for validation@values true, false | boolean | - | |
| autocomplete | The autocompletion setting for the input | string | - | |
| cols | The setting for the number of columns@values Width in columns the textarea@see Html textarea definition for attribute cols | number | - | |
| rows | The setting for the number of rows@values Height in rows for the textarea@see Html textarea definition for attribute rows | number | - | |
| ariaLabelledby | Optional for ariaLabelledby@values Text for ariaLabelledby | string | - |
General
Please navigate to the documentation for jio-form instead.
'Gewone' textarea
Textarea met label
Textarea met default foutmelding
Textarea met eigen foutmelding
Textarea verplicht in te vullen
Textarea max-length en aria-labelledby gezet
Aria labeled by verwijst naar deze div
Textarea max-height en default-height gezet
Textarea met heights ingesteld