form builder: "input creator" form state not updated correctly when switching between inputs
watisnu opened this issue · 0 comments
watisnu commented
This might be super low prio but it might deterr some people from using the library if given a bad first impression.
I noticed that when using the "edit" button in the layout section to switch between different inputs, the "Options" don't update correctly.
Steps to reproduce
- Go to https://react-hook-form.com/form-builder
- Under "Layout", click on the "Edit" button next to "Title".
- Observe that the options are "Mr;Mrs;Miss;Dr"
- Next, click on "Edit" under "Developer" (without clicking "Cancel Edit" first)
- Observe that the options are still "Mr;Mrs;Miss;Dr"
Expected behavior
The options should be "Yes;No"
Actual behavior
The values are "Mr;Mrs;Miss;Dr"