Goal:
Configure the height of ui:widget:'textarea'
Steps:
Add component JSONSchemaForm,
Create a field called notes
JSON Schema
{
"type": "object",
"properties": {
"notes": {
"type": "string",
"title": "Notes",
}
}
}
UI Schema
{
"notes": {
"ui:options": {
"widget": "textarea",
"rows": 5,
},
},
}
Observation: The notes field has the textarea handle on the bottom right corner, but the height is ignored.
Details:
Textarea row height does not appear to be honored.
The documentation suggests that this is possible.
- Screenshots: