ws-class-props | |||
---|---|---|---|
Line 5: | Line 5: | ||
|Doc sort order=110 | |Doc sort order=110 | ||
|Doc target group=User | |Doc target group=User | ||
+ | |Doc synopsis=How to render a textarea input field | ||
}} | }} |
Latest revision as of 14:14, 22 September 2022
Name
textarea
Type
_input
Synopsis
How to render a textarea input field
Description
_input elements of type="textarea" create larger text input fields that let the user enter a text. This differs from original HTML5 as textarea is not part of an input field, but an input type on its own. It also differs from other _input fields as there is no value you can set. Instead you use an opening _input type and a closing one. The value will be in between. See example.
Parameters
type="textarea"
For all supported argument have a look at the link at the links section.
Example
<_input type="textarea" name="comment" placeholder="Type your comment" required="required">This is the text value</_input>
Note
Links
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea