Range input does not update value correctly when setting max and value together
Version
3.2.22
Reproduction link
Steps to reproduce
- Create
input type=range
- Dynamically (e.g. on button press) change
max
and setvalue
tomax
using a watch
What is expected?
- Both
max
andvalue
of theinput
have the same value
What is actually happening?
- The
max
updates correctly butvalue
does not correctly update and jumps to an old value
In this scenario you need to use a post watcher because the change of the max attribute needs to be applied before the value (this is specific to inputs of type range).