如何在更改另一个字段的值时清除物料界面自动完成TextField中的多芯片。在下面的示例中,每当Type值发生更改时,我都会尝试清除子类型值。我可以根据Type字段中更改的值更新下拉选项。options for Banking Type 在下面的屏幕截图中,我试图清除子类型字段的选项和多芯片。只有选项正在更新,但mui-chips没有被清除。mui chips not gettig reset, on changing Type drop-down value 问题可在
当我从makeStyles导入@mui/materials/styles时,我会得到以下错误-
Uncaught Error: MUI: makeStyles is not longer exportedfrom @mui/material/styles.You have to import it from @mui/styles.See https://mui.com/r/migration-v4/#ma