react-jsonschema-form
react-jsonschema-form copied to clipboard
Mui Array Field AutoComplete not working
Prerequisites
- [X] I have read the documentation
What theme are you using?
material-ui
What is your question?
I have uischema for array. I can use AutoComplete with object fields. But AutoComplete not visible in array. I can see the widget in props.
related_cpas: {
items: {
"ui:ObjectFieldTemplate": ResponsiveTemplateArray,
corrective_and_preventive_control_precautions: {
"ui:widget": "textarea",
"ui:options": {
rows: 3,
},
actions_taken: {
"ui:widget": "textarea",
"ui:options": {
rows: 3,
},
`},`
assigned_to: {
"ui:widget": (props: WidgetProps) => {
console.log("array fields props", props);
return (
<AutoCompleteCompanyState
onChange={props.onChange}
/>
);
},
},
},
},
},
I have tried many things but no luck. Thanks