Skip to content

Commit a097825

Browse files
committed
fixup! fix(material/slider): form control w/ initial disabled state
1 parent ff646fb commit a097825

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/material/slider/slider-input.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ export class MatSliderThumb implements _MatSliderThumb, OnDestroy, ControlValueA
278278

279279
// If this or the parent slider is disabled, just make everything disabled.
280280
if (this.disabled !== this._slider.disabled) {
281+
// The MatSlider setter for disabled will relay this and disable both inputs.
281282
this._slider.disabled = true;
282283
}
283284

0 commit comments

Comments
 (0)