Skip to content

Commit

Permalink
fix(slider): 修复disabled切换后,只有样式改变了,功能没禁用 #INFR-12203
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Apr 18, 2024
1 parent f8b619b commit ab7da55
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/slider/slider.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export class ThySlider
@Input({ transform: booleanAttribute })
override set thyDisabled(value: boolean) {
this.disabled = value;
this.toggleDisabled();
}
override get thyDisabled(): boolean {
return this.disabled;
Expand Down

0 comments on commit ab7da55

Please sign in to comment.