1

我的反应数据网格组件在字段上有一个自动完成编辑器。当一个单元格包含一个值并被单击时,下拉和类型选择按预期工作。当单元格包含空值时,单击单元格会引发以下错误:

Warning: `value` prop on `input` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.

如何最好地摆脱这个错误?

4

0 回答 0