@alauda/ui 6.4.6-beta.14 → 6.4.6-beta.15
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/fesm2020/alauda-ui.mjs
CHANGED
|
@@ -8019,7 +8019,8 @@ class MultiSelectComponent extends BaseSelect {
|
|
|
8019
8019
|
if (event.key === 'Backspace' &&
|
|
8020
8020
|
this.filterString === '' &&
|
|
8021
8021
|
this.model.length > 0 &&
|
|
8022
|
-
!this.hasDisabledOption
|
|
8022
|
+
!this.hasDisabledOption // Disabled backspace when any of select options have disabled state.
|
|
8023
|
+
) {
|
|
8023
8024
|
this.removeValue(this.model[this.model.length - 1]);
|
|
8024
8025
|
event.stopPropagation();
|
|
8025
8026
|
event.preventDefault();
|