Skip to content

Commit

Permalink
Fix changing disabled state via reactive forms (issue angular-slider#223
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Klaus Harrer committed Oct 12, 2021
1 parent 85687da commit 7a613dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ngx-slider/lib/slider.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,7 @@ export class SliderComponent implements OnInit, AfterViewInit, OnChanges, OnDest
public setDisabledState(isDisabled: boolean): void {
this.viewOptions.disabled = isDisabled;
this.updateDisabledState();
this.manageEventsBindings();
}

@HostListener('window:resize', ['$event'])
Expand Down

0 comments on commit 7a613dd

Please sign in to comment.