@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.
@@ -55144,6 +55144,11 @@ async function getQuickEditSchema(object, columnField, options){
55144
55144
  const submitEvent = {
55145
55145
  submit: {
55146
55146
  actions: [
55147
+ {
55148
+ "actionType": "validate",
55149
+ "componentId": quickEditId,
55150
+ "outputVar": "form_validate_result"
55151
+ },
55147
55152
  {
55148
55153
  actionType: "custom",
55149
55154
  script: `
@@ -55160,10 +55165,12 @@ async function getQuickEditSchema(object, columnField, options){
55160
55165
  doAction({actionType: 'setValue', "args": {"value": event.data._display},componentId: "${options.objectName}" + "_display_" + event.data._index});
55161
55166
  doAction({actionType: 'setValue', "args": {"value": event.data.${field.name}},componentId: "${options.objectName + "_" + field.name + "_"}" + event.data._index});
55162
55167
  }
55163
- `
55168
+ `,
55169
+ expression: "${!form_validate_result.error}"
55164
55170
  },
55165
55171
  {
55166
- "actionType": "closeDialog"
55172
+ "actionType": "closeDialog",
55173
+ expression: "${!form_validate_result.error}"
55167
55174
  }
55168
55175
  ]
55169
55176
  }