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

Multiple forms on page do not have separate instances #6203

Closed
sc0ttkclark opened this issue Oct 20, 2021 · 1 comment
Closed

Multiple forms on page do not have separate instances #6203

sc0ttkclark opened this issue Oct 20, 2021 · 1 comment
Assignees
Labels
Component: DFV Issues related to the Pods DFV JS that powers form fields Component: React Issues related to React JS Keywords: Regression Priority: Blocker Issue is causing a problem that is holding a release or is a major bug that needs to be fixed ASAP Type: Bug
Milestone

Comments

@sc0ttkclark
Copy link
Member

Description

When outputting multiple forms on the same page using Pod::form(), form shortcode, or form block -- the instances are shared. All values get set in all forms to the last form output. All values in store are shared so changing any form field will change across all forms for that field.

Pods version

2.8.0

@sc0ttkclark sc0ttkclark added Type: Bug Priority: Blocker Issue is causing a problem that is holding a release or is a major bug that needs to be fixed ASAP Keywords: Regression Component: DFV Issues related to the Pods DFV JS that powers form fields labels Oct 20, 2021
@sc0ttkclark sc0ttkclark added this to the Pods 2.8.1 milestone Oct 20, 2021
sc0ttkclark added a commit that referenced this issue Oct 20, 2021
@sc0ttkclark sc0ttkclark modified the milestones: Pods 2.8.1, Pods 2.8.2 Oct 20, 2021
@sc0ttkclark sc0ttkclark added the Component: React Issues related to React JS label Oct 24, 2021
@sc0ttkclark sc0ttkclark modified the milestones: Pods 2.8.2, Pods 2.8.3 Oct 26, 2021
@zrothauser zrothauser mentioned this issue Oct 27, 2021
4 tasks
@sc0ttkclark
Copy link
Member Author

Fixed via #6246

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: DFV Issues related to the Pods DFV JS that powers form fields Component: React Issues related to React JS Keywords: Regression Priority: Blocker Issue is causing a problem that is holding a release or is a major bug that needs to be fixed ASAP Type: Bug
Projects
None yet
Development

No branches or pull requests

2 participants