Multiline input

Also known as

Text Area, Text Box

MultilineInput provides an editable text area where users can enter multiple lines of text and numeric values while retaining the visibility of the text they've entered.

Use a multiline input when asking a user a subjective question and the length of their answer is unknown. The input can give them plenty of space to answer the question and review the answer. If you can take an educated guess at the possible length of their answer, set the height accordingly—see the "Number of rows" example.

Multiline input field width and height should always reflect the amount of content expected in the field. If the content is unlikely to exceed a single line, always use Input.

To import MultilineInput from the core Salt package, use:

NameTypeDescriptionDefault