You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
A range slider is bound to a reactive form using formControlName; min/ max properties are also bound.
After programmatically updating min/ max variables and calling setValue to update the form values, observed behaviour is that range slider thumbs don't match the form values. Expected behaviour is that thumb positions match the calls to setValue.
Is this a regression?
The previous version in which this bug was not present was
No response
Description
A range slider is bound to a reactive form using
formControlName; min/ max properties are also bound.After programmatically updating min/ max variables and calling
setValueto update the form values, observed behaviour is that range slider thumbs don't match the form values. Expected behaviour is that thumb positions match the calls tosetValue.slider-thumb-mismatch.mp4
Reproduction
StackBlitz link: https://stackblitz.com/edit/components-issue-starter-xwmbwzkn?file=src%2Fmain.ts
Steps to reproduce:
Expected Behavior
Expected slider 1's thumbs to be at [5, 15] (to match form values after having called
setValue)Actual Behavior
Observed slider 1's thumbs to be at [10, 15] (which doesn't match form values)
Environment