Repository navigation
updates to a Input's disabled property causes the value property to reset #4496
MattLysinger
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
When both the disabled and value property of an input are signals, changes to the disabled property causes the value to reset to its initial value even after being modified.
Is this expected behaviour?
Below is both code and a playground link. Just change the values in the four boxes and then click "CLICK ME".
https://playground.solidjs.com/MattLysinger/6fabf761-9664-462b-a96e-2e5f82c3b3f3
All reactions