fix(PropertyControl): Allow modelValue as boolean and number as well#485
Merged
surajshetty3416 merged 2 commits intomasterfrom Feb 7, 2026
Merged
fix(PropertyControl): Allow modelValue as boolean and number as well#485surajshetty3416 merged 2 commits intomasterfrom
surajshetty3416 merged 2 commits intomasterfrom
Conversation
Member
surajshetty3416
commented
Feb 7, 2026
- Allow modelValue as boolean and number as well. After feat: Add support for dark mode images and refactor PropertyControl #464, property controls stopped accepting values as boolean and number and used to auto convert all values to string, which is why components like TabButton stopped working as expected.
- Add fileTypes prop to FileUploader for image uploads
After #464, property controls stopped accepting values as boolean and number and used to auto convert all values to string, which is why components like TabButton stopped working as expected.
|
🎉 This PR is included in version 1.22.4 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Member
Author
|
@mergify backport develop |
Contributor
✅ Backports have been createdDetails
Cherry-pick of 37a92c2 has failed: To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #485 +/- ##
=======================================
Coverage 52.57% 52.57%
=======================================
Files 28 28
Lines 2214 2214
=======================================
Hits 1164 1164
Misses 1050 1050 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
surajshetty3416
added a commit
that referenced
this pull request
Feb 7, 2026
fix(PropertyControl): Allow modelValue as boolean and number as well (backport #485)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.