Skip to content

Commit

Permalink
Fix(button): ScaleButton disabled propagating (#2375)
Browse files Browse the repository at this point in the history
* fix(button): set reflect attribute on disabled property
  • Loading branch information
glebbo-dev authored Jan 22, 2025
1 parent dac9e93 commit 0874436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/src/components/button/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class Button {
/** (optional) Button variant */
@Prop() variant?: string = 'primary';
/** (optional) If `true`, the button is disabled */
@Prop() disabled?: boolean = false;
@Prop({ reflect: true }) disabled?: boolean = false;
/** (optional) Button type */
@Prop() type?: 'reset' | 'submit' | 'button';
/** (optional) The name of the button, submitted as a pair with the button's `value` as part of the form data */
Expand Down

0 comments on commit 0874436

Please sign in to comment.