Skip to content

Conversation

@mikemartin
Copy link

When passing data into a form:create tag through x-data, the group field's nested values are lost because the extra data replaces the entire group key during the merge. Using a recursive merge preserves the existing nested values and resolves the issue.

@mikemartin mikemartin changed the title Merge extra form data recursively [6.x] Merge extra form data recursively Dec 6, 2025
@jasonvarga jasonvarga merged commit 81854e1 into statamic:master Dec 8, 2025
12 of 13 checks passed
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