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 2 years 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

@emrahc Can you create a small example using codesandbox.io? There is not enough information for us to help.

heath-freenome avatar Mar 31 '23 15:03 heath-freenome

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.

stale[bot] avatar Jun 29 '24 18:06 stale[bot]

This issue was closed because of lack of recent activity. Reopen if you still need assistance.

stale[bot] avatar Jul 29 '24 23:07 stale[bot]