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 committed Jan 10, 2022
1 parent 713a35a commit b081be2
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 b081be2

Please sign in to comment.