@processmaker/screen-builder 3.5.7 → 3.6.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/vue-form-builder.css +1 -1
- package/dist/vue-form-builder.es.js +21 -5
- package/dist/vue-form-builder.es.js.map +1 -1
- package/dist/vue-form-builder.umd.js +2 -2
- package/dist/vue-form-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/inspector/options-list.vue +12 -6
- package/src/components/task.vue +3 -0
package/package.json
CHANGED
|
@@ -617,13 +617,16 @@ export default {
|
|
|
617
617
|
return;
|
|
618
618
|
}
|
|
619
619
|
const newOption = {
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
620
|
+
[this.valueField]: this.optionContent,
|
|
621
|
+
[this.keyField]: this.optionValue
|
|
622
|
+
};
|
|
623
623
|
if (this.renderAs === "checkbox") {
|
|
624
|
+
const index = this.optionsList.length;
|
|
624
625
|
this.optionsList.push(newOption);
|
|
625
|
-
this.optionsListExtra
|
|
626
|
-
|
|
626
|
+
this.optionsListExtra[index] = {
|
|
627
|
+
...newOption,
|
|
628
|
+
[this.ariaLabelField]: this.optionAriaLabel
|
|
629
|
+
};
|
|
627
630
|
} else {
|
|
628
631
|
this.optionsList.push(newOption);
|
|
629
632
|
}
|
|
@@ -635,7 +638,10 @@ export default {
|
|
|
635
638
|
this.optionsList[this.editIndex][this.keyField] = this.optionValue;
|
|
636
639
|
this.optionsList[this.editIndex][this.valueField] = this.optionContent;
|
|
637
640
|
if (this.renderAs === "checkbox") {
|
|
638
|
-
this.optionsListExtra[this.editIndex] = {
|
|
641
|
+
this.optionsListExtra[this.editIndex] = {
|
|
642
|
+
...this.optionsList[this.editIndex],
|
|
643
|
+
[this.ariaLabelField]: this.optionAriaLabel
|
|
644
|
+
};
|
|
639
645
|
}
|
|
640
646
|
}
|
|
641
647
|
|