This is an advanced-use feature, and likely not something you'll need to configure. What you probably want is the content types reference!
The textarea
field represents a multi-line text input. It should be used for content values that are long strings: for example, a page description.
interface TextareaConfig {name: stringcomponent: 'textarea'label?: stringdescription?: string}
This interfaces only shows the keys unique to the textarea field. Visit the Field Config docs for a complete list of options.
Below is an example of how a textarea
field could be used to edit the description of a blog post.
const BlogPostForm = {fields: [{name: 'description',component: 'textarea',label: 'Description',description: 'Enter the post description here',},],}
© TinaCMS 2019–2024