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: rely on use-page-state to get the current value #3513

Merged
merged 2 commits into from
Oct 28, 2024

Conversation

ewoutquax
Copy link
Collaborator

The reversed code solved a bug that only occured when the input-component was iterated. When a component is iterated, it would trigger some code in the compiler that didn't perfectly handle the state.

But the solve broke a use-case, where component is in a conditional, and the state is persisted when the component is temporarily not on the page.

By reverting this code, and fixing the compiler, all use-cases now work.

The reversed code solved a bug that only occured when the
input-component was iterated. When a component is iterated, it would
trigger some code in the compiler that didn't perfectly handle the
state.

But the solve broke a use-case, where component is in a conditional, and
the state is persisted when the component is temporarily not on the
page.

By reverting this code, and fixing the compiler, all use-cases now work.
@ewoutquax ewoutquax self-assigned this Oct 28, 2024
@ewoutquax ewoutquax merged commit 0bce6c0 into acceptance Oct 28, 2024
2 checks passed
@ewoutquax ewoutquax deleted the bug/rely-on-page-state-for-value-PAGE-4793 branch October 28, 2024 09:20
@bettyblocks-release-bot
Copy link
Collaborator

🎉 This PR is included in version 2.195.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@bettyblocks-release-bot
Copy link
Collaborator

🎉 This PR is included in version 2.195.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants