Skip to content

Commit

Permalink
fix(ld-button): non-reflected props are not cloned as attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
borisdiakur authored and renet committed Jan 6, 2022
1 parent cee78a3 commit 658a838
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/liquid/components/ld-button/ld-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ export class LdButton implements InnerFocusable, ClonesAttributes {
return (
<Tag
{...this.clonedAttributes}
href={this.href}
aria-busy={hasProgress ? 'true' : undefined}
aria-disabled={
this.disabled || this.el.getAttribute('aria-disabled') === 'true'
Expand Down

0 comments on commit 658a838

Please sign in to comment.