react-jsonschema-form
react-jsonschema-form copied to clipboard
i want to add uischema for n times child properties of formschema.
Prerequisites
- [X] I have read the documentation
What theme are you using?
core
Is your feature request related to a problem? Please describe.
formschema:{
"title": "A list of tasks",
"type": "object",
"properties": {
"tasklist": {
"type": "array",
"title": "Addnewtask",
"items": {
"type": "object",
"title": "New Task",
"properties": {
"selectTask": {
"type": "object",
"title": "Enter New Task Detail",
"anyOf": [
{
"title": "Text",
"type": "object",
"properties": {
"TextField": {
"type": "string",
"title": "TEXT",
"default": "TEXT",
"readOnly": true
}
}
},
{
"title": "Text",
"type": "object",
"properties": {
"TextField": {
"type": "string",
"title": "TEXT",
"default": "TEXT",
"readOnly": true,
"hidden": true
}
}
}
]
}
}
}
}
}
}
uiSchema:{
"tasklist": {
"selectTask": {
"TextField": "hidden"
}
}
}
Describe the solution you'd like
how to use uischema to hide child input controls
Describe alternatives you've considered
No response