react-table-edit 1.4.51 → 1.4.52

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.
package/dist/index.mjs CHANGED
@@ -17881,7 +17881,7 @@ const SelectTable = forwardRef((props, ref) => {
17881
17881
  };
17882
17882
  const handChange = (val) => {
17883
17883
  if (val && val.isCreated) {
17884
- const newVal = { ...val, [fieldLabel ?? 'label']: val.valueCreate, isCreated: undefined };
17884
+ const newVal = { ...val, [fieldLabel ?? 'label']: val.valueCreate, isCreated: undefined, isCreatedItem: true };
17885
17885
  options.unshift(newVal);
17886
17886
  onChange(newVal);
17887
17887
  return;