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 }}
Repository navigation
Fields with "value" attributes become uneditable after transform #14
In order for "value" to behave as it does in HTML, the created React components must use "defaultValue". "value" in React creates a controlled component, which makes react-magic generate un-editable inputs.
Activity
ssorallen commentedon Jan 7, 2015
The same goes for
type="checkbox"with thecheckedattribute. It should be converted todefaultChecked.aboobakkar commentedon Feb 1, 2017
the above same issue for me.. and i also checked article https://themeteorchef.com/tutorials/click-to-edit-fields-in-react and deafultValue is not worked thsi,state.something value
aayushis12 commentedon Jun 13, 2017
The same issue is with me. My Codepen link is https://codepen.io/asinha/pen/EXaZJm?editors=1111 , when I set getInitialValue to '' the input box becomes non-editable
luanlucho commentedon Aug 23, 2018
Same issue!
satishchadokar commentedon Oct 5, 2018
Same issue for input
Virksaabnavjot commentedon Dec 8, 2019
same