Skip to content

md-slider not updating when min or max is changed #1556

@stanislavgatsev

Description

@stanislavgatsev

Bug, feature request, or proposal:

Bug

What is the expected behavior?

When change the max value of the slider it should update the thumb position in the slider.

What is the current behavior?

When the max value is changed the slider is not updated.

What are the steps to reproduce?

<md-slider [(ngModel)]="sliderValue" min="{{sliderValueMin}}" max="{{sliderValueMax}}" value="{{sliderValue}}">

When sliderValueMax or sliderValueMin are changed nothing happens.

What is the use-case or motivation for changing an existing behavior?

When some conditions on a form happen and need to change the limits of a slider.

Which versions of Angular, Material, OS, browsers are affected?

Angular 2.0.0, Material 2.0.0-alpha.8-2, All, All

Is there anything else we should know?

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions