Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

form builder: "input creator" form state not updated correctly when switching between inputs #1060

Open
watisnu opened this issue Apr 11, 2024 · 0 comments

Comments

@watisnu
Copy link

watisnu commented Apr 11, 2024

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant