@steedos-widgets/sortable 6.3.1 → 6.3.2

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.
@@ -21449,6 +21449,11 @@
21449
21449
  const submitEvent = {
21450
21450
  submit: {
21451
21451
  actions: [
21452
+ {
21453
+ "actionType": "validate",
21454
+ "componentId": quickEditId,
21455
+ "outputVar": "form_validate_result"
21456
+ },
21452
21457
  {
21453
21458
  actionType: "custom",
21454
21459
  script: `
@@ -21465,10 +21470,12 @@
21465
21470
  doAction({actionType: 'setValue', "args": {"value": event.data._display},componentId: "${options.objectName}" + "_display_" + event.data._index});
21466
21471
  doAction({actionType: 'setValue', "args": {"value": event.data.${field.name}},componentId: "${options.objectName + "_" + field.name + "_"}" + event.data._index});
21467
21472
  }
21468
- `
21473
+ `,
21474
+ expression: "${!form_validate_result.error}"
21469
21475
  },
21470
21476
  {
21471
- "actionType": "closeDialog"
21477
+ "actionType": "closeDialog",
21478
+ expression: "${!form_validate_result.error}"
21472
21479
  }
21473
21480
  ]
21474
21481
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos-widgets/sortable",
3
- "version": "6.3.1",
3
+ "version": "6.3.2",
4
4
  "main": "dist/sortable.cjs.js",
5
5
  "module": "dist/sortable.esm.js",
6
6
  "unpkg": "dist/sortable.umd.js",
@@ -45,7 +45,7 @@
45
45
  "dependencies": {
46
46
  "@dnd-kit/core": "^6.0.5",
47
47
  "@dnd-kit/sortable": "^7.0.1",
48
- "@steedos-widgets/amis-lib": "6.3.1"
48
+ "@steedos-widgets/amis-lib": "6.3.2"
49
49
  },
50
- "gitHead": "06cbcfaadb24b1111152eca927fbddd020a4916d"
50
+ "gitHead": "3b016d175f0d95e5d5f62e074af14e6e100004cf"
51
51
  }