@jsonforms/material-renderers 3.7.0 → 3.8.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -657,7 +657,7 @@ const MaterialOneOfRenderer = ({ handleChange, schema, path, renderers, cells, r
657
657
  }, [handleChange, createDefaultValue, newSelectedIndex]);
658
658
  const handleTabChange = useCallback((_event, newOneOfIndex) => {
659
659
  setNewSelectedIndex(newOneOfIndex);
660
- if (isEmpty(data)) {
660
+ if (data === undefined) {
661
661
  openNewTab(newOneOfIndex);
662
662
  }
663
663
  else {