Textarea
Render a textarea
input. Extends Base.
Example
Hello, world
const config = {
components: {
Example: {
fields: {
description: {
type: "textarea",
},
},
render: ({ description }) => {
return <p>{description}</p>;
},
},
},
};
Params
Param | Example | Type | Status |
---|---|---|---|
type | type: "textarea" | "textarea" | Required |
Required params
type
The type of the field. Must be "textarea"
for Textarea fields.
const config = {
components: {
Example: {
fields: {
description: {
type: "textarea",
},
},
// ...
},
},
};