@mcurros2/microm 1.1.431-0 → 1.1.433-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
@@ -399,7 +399,9 @@ function $ed5512685e858344$export$f1f43a62560a15ec(props) {
399
399
  const addValidation = (0, $b4te3$react.useCallback)((column, validation)=>{
400
400
  if (validation) validationObject.current[column.name] = validation;
401
401
  else delete validationObject.current[column.name];
402
- if (initialFormMode === "add" || forceDirty) initialDirty.current[column.name] = column.value !== '' || column.value !== null || column.value !== undefined ? true : false;
402
+ // In formMode == 'add' this is to force existing default values bound to input controls to be validated. If not mantine takes them as valid
403
+ // and do not trigger validation
404
+ if (initialFormMode === "add" || forceDirty) initialDirty.current[column.name] = column.value !== '' && column.value !== null && column.value !== undefined ? true : false;
403
405
  initialValues.current[column.name] = column.value ?? '';
404
406
  }, [
405
407
  forceDirty,
@@ -35701,7 +35703,8 @@ function $bead45746c9b4701$export$5ff8a4fe1be12a7c() {
35701
35703
  enableAdd: enableAdd,
35702
35704
  enableEdit: enableEdit,
35703
35705
  enableDelete: enableDelete,
35704
- enableView: enableView
35706
+ enableView: enableView,
35707
+ showSelectRowsButton: true
35705
35708
  },
35706
35709
  onOK: async (selectedKeys)=>await handleOK(selectedKeys),
35707
35710
  onCancel: ()=>handleCancel(),