foxhound87 / mobx-react-form

Reactive MobX Form State Management
https://foxhound87.github.io/mobx-react-form
MIT License
1.1k stars 129 forks source link

Input value not changing #575

Closed techknowfile closed 3 years ago

techknowfile commented 3 years ago

I'm trying to use the simple README example in my application, and when I type into the input field, the "id" on the dom element updates, but the value inside the input field doesn't change. Any idea what might cause this or where I should start to look?

"react": "^17.0.1",
"react-dom": "^17.0.1",
"mobx": "6.0.4",
"mobx-devtools-mst": "^0.9.30",
"mobx-react": "7.0.5",
"mobx-react-form": "^3.1.0",
"mobx-react-lite": ">=2.07",

Unable to replicate in the sandbox

techknowfile commented 3 years ago

Issue was caused by a bug in react code (creating form directly in component, not as state).