react-jsonschema-form icon indicating copy to clipboard operation
react-jsonschema-form copied to clipboard

Mui Array Field AutoComplete not working

Open emrahc opened this issue 1 year ago • 2 comments

Prerequisites

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 avatar Mar 20 '23 02:03 emrahc