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
@emrahc Can you create a small example using codesandbox.io? There is not enough information for us to help.
This issue has been automatically marked as possibly close because it has not had recent activity. It will be closed if no further activity occurs. Please leave a comment if this is still an issue for you. Thank you.
This issue was closed because of lack of recent activity. Reopen if you still need assistance.