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

fix: Renumber subElements on duplicate #4998

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

dsamojlenko
Copy link
Member

Summary | Résumé

When duplicating a dynamicRow element, the subElements were not being renumbered to match the parentId, so we'd end up with duplicate IDs in the subElements array. This sometimes caused forms to blow up while editing due to the way we look up form elements by their id.

Copy link
Contributor

@timarney timarney merged commit 0f166ca into main Jan 17, 2025
13 checks passed
@timarney timarney deleted the fix/renumber_subelements_on_duplicate branch January 17, 2025 19:00
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

Successfully merging this pull request may close these issues.

2 participants