Textarea
Description | Type | Required | |
---|---|---|---|
value | Will be used as default value. | String | No |
placeholder | Placeholder. If both value and placeholder are provided, value will be used. | String | No |
And all the common properties for all components.
Example
{
category: 'content',
type: 'textarea',
propName: 'description',
label: 'Description',
value: 'Lorem ipsum...',
}
Will render:
NB: in the code of your widget, put the following CSS rule on the text container to create line-breaks in the text: white-space: pre-wrap;