-
Notifications
You must be signed in to change notification settings - Fork 99
Closed
Description
When the value of an input field is managed in the model, like so:
input [ onInput HandleInput, value model.value ] []Then fast typing will cause the cursor to jump from the current position to the end of the input field.
SSCE here https://runelm.io/c/wdr.
This "bug" has led to various patterns, such as using defaultValue instead of value. But that particular solution is "leaky". If the input field is reused by VDOM, its internal value will also be reused. In a specific scenario (example here) this causes contents of a password field to show.
arnauorriols, DavidHoerster and slissner
Metadata
Metadata
Assignees
Labels
No labels