Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit 01766cd

Browse files
authored
fix(slider): Min, Max and step value fail to initialize (#1653)
1 parent 839c26b commit 01766cd

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/slider/slider.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -254,12 +254,7 @@ export class MdcSlider implements AfterViewInit, OnDestroy, ControlValueAccessor
254254
if (this._platform.isBrowser) {
255255
this._foundation = new MDCSliderFoundation(this._createAdapter());
256256
this._foundation.init();
257-
258-
this._foundation.setMin(this.min);
259-
this._foundation.setMax(this.max);
260-
this._foundation.setStep(this.step);
261257
this._foundation.setValue(this.value);
262-
263258
this._foundation.setupTrackMarker();
264259
}
265260
}

0 commit comments

Comments
 (0)