giorgosart/react-easy-edit

Toggle edit mode with `editMode` prop

orbitfum opened this issue · 2 comments

Describe the bug
Toggle edit mode with editMode prop not working after first save with editMode

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://codesandbox.io/s/toggle-edit-mode-forked-4cg7e?file=/src/index.js'
  2. Click on 'edit' button to toggle on
  3. Edit any field
  4. Click on 'save' button
  5. Click on 'edit' button to toggle off
  6. Click again on 'edit' button to toggle on
  7. Bug -> Can't update field

Expected behavior
After step 6, able to edit again.

Thank you for logging this @orbitfum, will take a look as soon as i can.

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.