[WC-3471]: fix(image-web): migrate image source properties to allowUpload - #2354
Open
yordan-st wants to merge 6 commits into
Open
[WC-3471]: fix(image-web): migrate image source properties to allowUpload#2354yordan-st wants to merge 6 commits into
yordan-st wants to merge 6 commits into
Conversation
This comment has been minimized.
This comment has been minimized.
r0b1n
reviewed
Jul 24, 2026
r0b1n
approved these changes
Jul 27, 2026
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.
Pull request type
Bug fix (non-breaking change which fixes an issue)
Description
imageObjectanddefaultImageDynamicin the Image widget were declared astype="image"withoutallowUpload, which Mendix has deprecated —DynamicValue<WebImage>is removed in Mendix 12, and Studio Pro 11.8+ already shows a design-time deprecation warning for this pattern.This adds
allowUpload="true"to both properties and regenerates typings accordingly (EditableImageValue<WebImage>). The widget's read logic inImage.tsxis unchanged —EditableImageValueexposes the samestatus/value.urishape the widget already consumes, so this is a display-only migration with no new upload UI.marketplace.minimumMXVersionis bumped to11.12.0since the widget XML now requiresallowUploadsupport, which older Studio Pro versions cannot parse (verified: Studio Pro <11.8 fails to load the widget package with "The 'allowUpload' attribute is not declared").Manually verified in Studio Pro 11.12 that both Static and Dynamic image-source configuration remain available in the property editor after this change — existing apps using a static image are not broken.
Widget version is not bumped in this PR (bumped at release time per repo convention); this change will require a major bump (2.0.0) on release due to the
minimumMXVersionincrease.What should be covered while testing?