You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There has a problem that is to set some optional field. I was debug by using the browser's develop tool , there is no any option field in the modified schema send to BE. By reading the source code , I found the problem where is.
In the FE SchemaOptionModal.jsx file.
the 4th parameter of the useEffect which call name is missed.
When change the has optional attribute filed, the old option is keepped. In CommonResourceModal.jsx
<FormControlfullWidth><InputLabelid='resource-label'>Field</InputLabel><SelectlabelId='resource-label'id='resource-id'sx={{mb: 0}}size='small'label='Field'name='field'value={item.field}onChange={(e)=>{handleSchema(item.id,item.label,e.target.value,-e.target.value+e.target.name,+{}// For the beginning, reset the option);}}>
There has a problem that is to set some optional field. I was debug by using the browser's develop tool , there is no any option field in the modified schema send to BE. By reading the source code , I found the problem where is.
In the FE SchemaOptionModal.jsx file.
the 4th parameter of the useEffect which call name is missed.
The text was updated successfully, but these errors were encountered: