Components/Forms/Textarea

fd-textarea · 4 examples from SAP's documentation · Back to the gallery

About

The text area is an input component that allows the user to enter several lines of text. Use the text area if you want users to enter multiple lines of unformatted text. Do not use the text area if

Primary

Counter

Textarea can have a counter to display the number of characters entered or left to type. The counter is displayed below the textarea.

200 characters left

DisabledAndReadOnly

States

As with any other input component, you can validate the fields and show the result as a value state of the component. Possible value states are error, warning, success, information, or neutral (none).

Value State Success
Your input was successfully saved.
150 characters remaining
Value State Error
Please correct the highlighted error.
Value State Warning
Please review your input for potential issues.
Value State Information
This is additional information about your input.