Skip to content

Commit

Permalink
fix(select): disabled not reflecting (#430)
Browse files Browse the repository at this point in the history
Co-authored-by: Aykut Saraç <[email protected]>
Fixes #429
  • Loading branch information
AykutSarac authored Feb 16, 2023
1 parent f9ebbc6 commit bb50a8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/select/bl-select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default class BlSelect extends LitElement {
/**
* Shows the component in disabled state.
*/
@property({ type: Boolean })
@property({ type: Boolean, reflect: true })
disabled = false;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/components/select/option/bl-select-option.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default class BlSelectOption extends LitElement {
/**
* Sets option as disabled
*/
@property({ type: Boolean })
@property({ type: Boolean, reflect: true })
disabled = false;

/**
Expand Down

0 comments on commit bb50a8f

Please sign in to comment.