File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -400,10 +400,6 @@ class MultiComboBox extends UI5Element {
400
400
}
401
401
402
402
_showMorePopover ( ) {
403
- if ( this . readonly ) {
404
- return ;
405
- }
406
-
407
403
this . filterSelected = true ;
408
404
this . _toggleRespPopover ( ) ;
409
405
}
@@ -757,6 +753,10 @@ class MultiComboBox extends UI5Element {
757
753
return this . readonly ? "None" : "MultiSelect" ;
758
754
}
759
755
756
+ get _listItemsType ( ) {
757
+ return this . readonly ? "Inactive" : "Active" ;
758
+ }
759
+
760
760
get hasValueState ( ) {
761
761
return this . valueState !== ValueState . None ;
762
762
}
@@ -816,7 +816,7 @@ class MultiComboBox extends UI5Element {
816
816
}
817
817
818
818
get _tokenizerExpanded ( ) {
819
- return this . _rootFocused || this . open ;
819
+ return ( this . _rootFocused || this . open ) && ! this . readonly ;
820
820
}
821
821
822
822
get classes ( ) {
Original file line number Diff line number Diff line change 68
68
69
69
<ui5-list separators =" None" mode =" MultiSelect" class =" ui5-multi-combobox-all-items-list" >
70
70
{{ #each _filteredItems }}
71
- <ui5-li type =" Active " ?selected ={{ this.selected }} data-ui5-token-id =" {{ this._id }} " >{{ this.text }} </ui5-li >
71
+ <ui5-li type =" {{ ../_listItemsType }} " ?selected ={{ this.selected }} data-ui5-token-id =" {{ this._id }} " >{{ this.text }} </ui5-li >
72
72
{{ /each }}
73
73
</ui5-list >
74
74
You can’t perform that action at this time.
0 commit comments