Skip to content

Commit b017b20

Browse files
committed
fix selecting show all for selectMultipleWithCtrl
1 parent 5cc5baa commit b017b20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/dropdown.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ class Dropdown {
127127
*/
128128
public isSelected(value: string) {
129129
if (this.options.length > 0) {
130-
if (this.multipleAllowed && this.optionsSelected[0]) {
130+
if ((this.multipleAllowed || this.selectMultipleWithCtrl) && this.optionsSelected[0]) {
131131
// Multiple options can be selected, and "Show All" is selected.
132132
return true;
133133
}

0 commit comments

Comments
 (0)