Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@duncanmcclean
Copy link
Member

@duncanmcclean duncanmcclean commented Nov 3, 2025

This pull request fixes an issue where the container, errors and saving state on Publish Form components was being shared across all instances of the components.

This wouldn't be an issue if we were using the Composition API for these components, but because we're not, the variables are being re-used.

Fixes #12897

@duncanmcclean duncanmcclean marked this pull request as draft November 3, 2025 12:28
@jasonvarga
Copy link
Member

d'oh

So we don't run into the same issue with saving/errors state.
@duncanmcclean duncanmcclean changed the title [6.x] Fix container variable being re-used in publish forms [6.x] Fix re-used state in publish forms Nov 3, 2025
@duncanmcclean duncanmcclean marked this pull request as ready for review November 3, 2025 15:16
@duncanmcclean duncanmcclean linked an issue Nov 3, 2025 that may be closed by this pull request
@jasonvarga jasonvarga merged commit 0d4f935 into master Nov 3, 2025
20 checks passed
@duncanmcclean duncanmcclean deleted the publish-form-global-variables branch November 3, 2025 18:16
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.

[6.x] Losing data when creating new entries inside an entry

3 participants