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.js CHANGED
@@ -17909,7 +17909,7 @@ const SelectTable = React$5.forwardRef((props, ref) => {
17909
17909
  };
17910
17910
  const handChange = (val) => {
17911
17911
  if (val && val.isCreated) {
17912
- const newVal = { ...val, [fieldLabel ?? 'label']: val.valueCreate, isCreated: undefined };
17912
+ const newVal = { ...val, [fieldLabel ?? 'label']: val.valueCreate, isCreated: undefined, isCreatedItem: true };
17913
17913
  options.unshift(newVal);
17914
17914
  onChange(newVal);
17915
17915
  return;