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
{{ message }}
This repository was archived by the owner on Dec 16, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 16, 2021. It is now read-only.
should not change input value when changing "defaultValue" attr. #445
Activity
gavar commentedon Sep 20, 2018
I can confirm the issue exists on version 3.18.4
Lines of code affecting it:
https://github.com/developit/preact-compat/blob/3.18.4/src/index.js#L96-L101
You could temporary solve this problem by inverting logic after rendering, by calling this function on the react element: