@processmaker/modeler 1.24.0 → 1.24.1
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/modeler.common.js +67 -61
- package/dist/modeler.common.js.map +1 -1
- package/dist/modeler.umd.js +67 -61
- package/dist/modeler.umd.js.map +1 -1
- package/dist/modeler.umd.min.js +1 -1
- package/dist/modeler.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/nodes/subProcess/SubProcessFormSelect.vue +7 -2
package/package.json
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
:helper="$t('Select which Process this element calls')"
|
|
7
7
|
v-model="selectedProcess"
|
|
8
8
|
:showLabels="false"
|
|
9
|
-
:allow-empty="
|
|
9
|
+
:allow-empty="false"
|
|
10
10
|
:options="processList"
|
|
11
11
|
:loading="loading"
|
|
12
12
|
optionContent="name"
|
|
13
13
|
class="p-0 mb-2"
|
|
14
|
-
validation="
|
|
14
|
+
:validation="validation"
|
|
15
15
|
@search-change="searchChange"
|
|
16
16
|
:searchable="true"
|
|
17
17
|
:internal-search="false"
|
|
@@ -58,6 +58,7 @@ export default {
|
|
|
58
58
|
loading: false ,
|
|
59
59
|
processes: [],
|
|
60
60
|
selectedProcessInfo: null,
|
|
61
|
+
validation: '',
|
|
61
62
|
};
|
|
62
63
|
},
|
|
63
64
|
inheritAttrs: false,
|
|
@@ -146,6 +147,9 @@ export default {
|
|
|
146
147
|
this.selectedProcess = this.processList.find(p => p.id === this.config.processId);
|
|
147
148
|
this.selectedStartEvent = this.startEventList.find(se => se.id === this.config.startEvent);
|
|
148
149
|
this.$nextTick(() => {
|
|
150
|
+
if (!this.selectedProcess) {
|
|
151
|
+
this.validation = 'required';
|
|
152
|
+
}
|
|
149
153
|
this.loading = false;
|
|
150
154
|
});
|
|
151
155
|
},
|
|
@@ -206,6 +210,7 @@ export default {
|
|
|
206
210
|
},
|
|
207
211
|
},
|
|
208
212
|
created() {
|
|
213
|
+
this.validation = !this.config.processId ? 'required' : '';
|
|
209
214
|
this.loadProcessesDebounced = debounce((filter) => {
|
|
210
215
|
this.loadProcesses(filter);
|
|
211
216
|
}, 500);
|