@mcurros2/microm 1.1.433-0 → 1.1.435-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.d.ts.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -401,7 +401,9 @@ function $ed5512685e858344$export$f1f43a62560a15ec(props) {
|
|
|
401
401
|
else delete validationObject.current[column.name];
|
|
402
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
403
|
// and do not trigger validation
|
|
404
|
-
if (initialFormMode === "add" || forceDirty)
|
|
404
|
+
if (initialFormMode === "add" || forceDirty) {
|
|
405
|
+
if (column.value !== '' && column.value !== null && column.value !== undefined) initialDirty.current[column.name] = true;
|
|
406
|
+
}
|
|
405
407
|
initialValues.current[column.name] = column.value ?? '';
|
|
406
408
|
}, [
|
|
407
409
|
forceDirty,
|
|
@@ -35704,7 +35706,7 @@ function $bead45746c9b4701$export$5ff8a4fe1be12a7c() {
|
|
|
35704
35706
|
enableEdit: enableEdit,
|
|
35705
35707
|
enableDelete: enableDelete,
|
|
35706
35708
|
enableView: enableView,
|
|
35707
|
-
|
|
35709
|
+
initialSelectRowsToggle: true
|
|
35708
35710
|
},
|
|
35709
35711
|
onOK: async (selectedKeys)=>await handleOK(selectedKeys),
|
|
35710
35712
|
onCancel: ()=>handleCancel(),
|