Skip to content

Commit

Permalink
fix(select): fixed tag not getting disabled
Browse files Browse the repository at this point in the history
Disable all tags if multi select is disabled

fix #137
  • Loading branch information
shravan-balasubramanian committed Sep 30, 2020
1 parent c027e80 commit 3723830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/select/select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ export class Select {
text: option.html ? option.optionText : option.textContent,
value: option.value,
selected: option.value === this.value || option.selected,
disabled: option.disabled,
disabled: option.disabled || this.disabled, // Check if option is disabled or select is disabled
htmlContent: option.html ? option.innerHTML : '',
};
});
Expand Down

0 comments on commit 3723830

Please sign in to comment.