Skip to content

Commit

Permalink
Fix changing disabled state via reactive forms (angular-slider#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
Klaus Harrer committed Nov 28, 2024
1 parent e6cd2c4 commit de489ac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ngx-slider/lib/slider.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,10 @@ export class SliderComponent
public setDisabledState(isDisabled: boolean): void {
this.viewOptions.disabled = isDisabled;
this.updateDisabledState();

if (this.initHasRun) {
this.manageEventsBindings();
}
}

public setAriaLabel(ariaLabel: string): void {
Expand Down

0 comments on commit de489ac

Please sign in to comment.