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 #3508

Merged
merged 19 commits into from
Oct 23, 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.

stefan-betty and others added 19 commits October 7, 2024 13:24
…howing-PAGE-4710

fix(PAGE-4710): Remove unused zone from publish prod files.
## [2.193.1](v2.193.0...v2.193.1) (2024-10-07)

### Bug Fixes

* **PAGE-4710:** Remove unused zone from publish prod files. ([05e1bbf](05e1bbf))
…fault-value-PAGE-4719

Fix/datetime picker show default value page 4719
## [2.193.1](v2.193.0...v2.193.1) (2024-10-08)

### Bug Fixes

* datepicker can interpret default meta-data data ([c56ecb3](c56ecb3))
* **PAGE-4710:** Remove unused zone from publish prod files. ([05e1bbf](05e1bbf))
* parse min- and maxDate correctly ([4baa79e](4baa79e))
…-behaving-correctly-using-or-operator-PAGE-4078

Fix/autocomplete filter not behaving correctly using or operator page 4078
## [2.193.1](v2.193.0...v2.193.1) (2024-10-10)

### Bug Fixes

* add default value to current filter and show remaining records ([2a51f91](2a51f91))
* datepicker can interpret default meta-data data ([c56ecb3](c56ecb3))
* deepcopy optionFilter in autocomplete ([b777209](b777209))
* fixed filter in the autocomplete ([a6c71d3](a6c71d3))
* **PAGE-4710:** Remove unused zone from publish prod files. ([05e1bbf](05e1bbf))
* parse min- and maxDate correctly ([4baa79e](4baa79e))
* use empty string as fallback ([0a2d6a9](0a2d6a9))
…fault-value-PAGE-4719

Fix/datetime picker show default value page 4719
## [2.193.1](v2.193.0...v2.193.1) (2024-10-11)

### Bug Fixes

* add default value to current filter and show remaining records ([2a51f91](2a51f91))
* datepicker can interpret default meta-data data ([c56ecb3](c56ecb3))
* deepcopy optionFilter in autocomplete ([b777209](b777209))
* fixed filter in the autocomplete ([a6c71d3](a6c71d3))
* force floatingLabel when a value is present in dataPicker ([d2997db](d2997db))
* give datePickerField a default value of null ([028183e](028183e))
* **PAGE-4710:** Remove unused zone from publish prod files. ([05e1bbf](05e1bbf))
* parse min- and maxDate correctly ([4baa79e](4baa79e))
* pipelines ([d72e9ec](d72e9ec))
* use empty string as fallback ([0a2d6a9](0a2d6a9))
It was used to check difference between two versions, and should not
have been committed.
## [2.193.2](v2.193.1...v2.193.2) (2024-10-11)

### Bug Fixes

* add default value to current filter and show remaining records ([2a51f91](2a51f91))
* datepicker can interpret default meta-data data ([c56ecb3](c56ecb3))
* deepcopy optionFilter in autocomplete ([b777209](b777209))
* fixed filter in the autocomplete ([a6c71d3](a6c71d3))
* force floatingLabel when a value is present in dataPicker ([d2997db](d2997db))
* give datePickerField a default value of null ([028183e](028183e))
* parse min- and maxDate correctly ([4baa79e](4baa79e))
* pipelines ([d72e9ec](d72e9ec))
* use empty string as fallback ([0a2d6a9](0a2d6a9))
Needed to merge the code to master
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 21, 2024
@ewoutquax ewoutquax changed the base branch from acceptance to edge October 21, 2024 14:08
@ewoutquax ewoutquax requested review from jrquak and ingmar-stipriaan and removed request for RobD-tech October 21, 2024 15:16
@ewoutquax ewoutquax dismissed ingmar-stipriaan’s stale review October 22, 2024 12:13

The merge-base changed after approval.

@ewoutquax ewoutquax merged commit 702e0c7 into edge Oct 23, 2024
2 checks passed
@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.

6 participants