Toggle edit mode with `editMode` prop
orbitfum opened this issue · 2 comments
orbitfum commented
Describe the bug
Toggle edit mode with editMode
prop not working after first save with editMode
To Reproduce
Steps to reproduce the behavior:
- Go to 'https://codesandbox.io/s/toggle-edit-mode-forked-4cg7e?file=/src/index.js'
- Click on 'edit' button to toggle on
- Edit any field
- Click on 'save' button
- Click on 'edit' button to toggle off
- Click again on 'edit' button to toggle on
- Bug -> Can't update field
Expected behavior
After step 6, able to edit again.
giorgosart commented
Thank you for logging this @orbitfum, will take a look as soon as i can.
giorgosart commented
Hey @orbitfum the issue is now addressed in react-easy-edit@1.13.1, please update your project and let me know if you face any issues.