Multi-line inputs for forms
A clear button can be added to the left and right to the footer of the textarea. By default it will be placed to the right. The clear button will clear the contents of the textarea
The clear content can also be positioned to the left if needed.
The text and icon of the clear button can be customized as needed.
The clear button can also just be an icon.
The max character takes precedence in positioning within the footer. The clear button will always be at the opposite side of the max character. count
The error message overrides anything on the left side.
Set to `true` to automatically adjust the height of the text area when typing
Maximum height in pixels the text area will grow. `autoGrow` must be true to have an effect. Minimum height is always the default height based on `rows`.
Hides max character counter when blurred out of field
Position in the footer of the clear button. Input does nothing if `maxCharacter` is enabled, it will always go to the opposite side of `maxCharacter`
Displays current/max characters when maxCharacter is provided
First validation happens only on blur/submit, and validates on keyup once an error exists
Sets aria label for accessibility when there is no associated visible text
Event emitted everytime a user highlights a text in the textarea