@acorex/platform 20.8.1 → 20.8.3
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/fesm2022/acorex-platform-layout-components.mjs +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widgets.mjs +23 -22
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-kyGDlQq0.mjs → acorex-platform-themes-default-entity-master-list-view.component-CLDoygoI.mjs} +3 -3
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-kyGDlQq0.mjs.map → acorex-platform-themes-default-entity-master-list-view.component-CLDoygoI.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default.mjs +4 -4
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/package.json +5 -5
|
@@ -6875,35 +6875,36 @@ class AXPSelectBoxWidgetEditComponent extends AXPDataListWidgetComponent {
|
|
|
6875
6875
|
this.contextService.patch(itemToExpose, true);
|
|
6876
6876
|
}
|
|
6877
6877
|
//#endregion
|
|
6878
|
-
|
|
6879
|
-
|
|
6880
|
-
|
|
6881
|
-
|
|
6882
|
-
|
|
6883
|
-
|
|
6884
|
-
|
|
6885
|
-
|
|
6886
|
-
|
|
6887
|
-
|
|
6888
|
-
|
|
6889
|
-
|
|
6878
|
+
}
|
|
6879
|
+
//#region ---- Set Value Based on Mode ----
|
|
6880
|
+
// Apply strategy even when the value comes from outside (isUserInteraction=false).
|
|
6881
|
+
if (this.filterMode()) {
|
|
6882
|
+
// Filter mode: set value with operation structure
|
|
6883
|
+
const newValue = e.value;
|
|
6884
|
+
const text = this.selectedItems().map((item) => get(item, this.textField()));
|
|
6885
|
+
this.setValue({
|
|
6886
|
+
value: newValue,
|
|
6887
|
+
displayText: text,
|
|
6888
|
+
operation: {
|
|
6889
|
+
type: this.multiple() ? 'in' : 'equal',
|
|
6890
|
+
},
|
|
6891
|
+
});
|
|
6892
|
+
}
|
|
6893
|
+
else {
|
|
6894
|
+
// Normal mode: set value directly
|
|
6895
|
+
if (this.widgetsConfigs.selectValueStrategy === 'valueField') {
|
|
6896
|
+
this.setValue(e.value);
|
|
6890
6897
|
}
|
|
6891
6898
|
else {
|
|
6892
|
-
|
|
6893
|
-
|
|
6894
|
-
this.setValue(e.value);
|
|
6899
|
+
if (this.multiple()) {
|
|
6900
|
+
this.setValue(this.selectedItems());
|
|
6895
6901
|
}
|
|
6896
6902
|
else {
|
|
6897
|
-
|
|
6898
|
-
this.setValue(this.selectedItems());
|
|
6899
|
-
}
|
|
6900
|
-
else {
|
|
6901
|
-
this.setValue(this.selectedItems()[0]);
|
|
6902
|
-
}
|
|
6903
|
+
this.setValue(this.selectedItems()[0]);
|
|
6903
6904
|
}
|
|
6904
6905
|
}
|
|
6905
|
-
//#endregion
|
|
6906
6906
|
}
|
|
6907
|
+
//#endregion
|
|
6907
6908
|
}
|
|
6908
6909
|
handleSearchValueChange(e) {
|
|
6909
6910
|
if (e.isUserInteraction) {
|