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 socialfields on one form cause "add more" and "remove" AJAX confusion #27

Open
jenlampton opened this issue Jul 30, 2024 · 0 comments

Comments

@jenlampton
Copy link
Member

The "Add more" option still doesn't work for multiple socialfields on the same form. The AJAX callbacks don't seem to know which field they should uodate.

  • The "add more" option often adds two rows into one field, if there are two fields on the page.
  • The "Remove" option can also get confused between the two fields, and remove a service from both fields.

We need to find a way to pass the field name along to the callbacks, and only apply the changes to the appropriate field.

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