@mcurros2/microm 1.1.264-0 → 1.1.265-0

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
@@ -34379,16 +34379,16 @@ const $900fa559ce35569a$export$4003d000af5d7585 = /*#__PURE__*/ (0, $b4te3$react
34379
34379
  selectData
34380
34380
  ]);
34381
34381
  // MMC: Effect for setting the key column value to the case of the selectData
34382
+ const bindingColumnValue = form.values[column.name];
34382
34383
  (0, $b4te3$react.useEffect)(()=>{
34383
34384
  if (formMode === 'add') return;
34384
- const bindingColumnValue = form.values[column.name];
34385
34385
  const originalItem = selectData.find((item)=>item.value.localeCompare(bindingColumnValue, undefined, {
34386
34386
  sensitivity: 'base'
34387
34387
  }) === 0)?.value ?? null;
34388
34388
  if (originalItem !== null) form.setFieldValue(column.name, originalItem);
34389
34389
  }, [
34390
- column,
34391
- entityForm.form.values,
34390
+ bindingColumnValue,
34391
+ column.name,
34392
34392
  form,
34393
34393
  formMode,
34394
34394
  selectData