preventNewlines treats the field as a wrapping single line. Enter does not insert a newline, and pasted or dropped line breaks are flattened to spaces.
Try pressing Enter, and pasting text that spans several lines, in both fields below.
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
Icon rendered inside the textarea
Sets aria label for accessibility when there is no associated visible text
Minimum height in pixels; overrides the `rows`-based height, and with `autoGrow` it is the floor the textarea grows from.
Field padding; 'compact' reduces the vertical padding, 'none' removes it entirely, e.g. to align with surrounding text
Extra right padding in pixels.
Sets the color of the placeholder text
Disable placeholder wrapping
Treat the field as a wrapping single line. Enter does not insert a newline, and pasted or dropped line breaks are flattened to spaces.
When false, suppresses in-component validation error messages and shaking animations.
Event emitted everytime a user highlights a text in the textarea