Action widgets
Textarea
- Use when: you want multi-line text input
ui:options: standard RJSF options (for examplerows) are passed through
ui: {
comment: {
"ui:widget": "textarea",
"ui:placeholder": "Explain your decision",
"ui:options": { rows: 4 },
},
}Inbox preview
Rendered by the dashboard (static preview route). Matches docs light/dark mode. Handle actions are disabled; use the toolbar to submit this example to your inbox or view its configuration.
Action
{
"id": "approve",
"title": "Approve",
"description": "Multi-line text input",
"schema": {
"type": "object",
"properties": {
"comment": {
"type": "string",
"title": "Approval comment"
}
}
},
"ui": {
"comment": {
"ui:widget": "textarea",
"ui:placeholder": "Explain your decision",
"ui:options": {
"rows": 4
}
}
}
}See also
This widget also appears in the full Code Review task example.