Skip to content

Fix bug uploading an image via the Media Picker is no longer automatically selected#18667

Merged
iOvergaard merged 8 commits intov15/devfrom
v15/fix-bug/automatically-selected-uploading-image
Mar 26, 2025
Merged

Fix bug uploading an image via the Media Picker is no longer automatically selected#18667
iOvergaard merged 8 commits intov15/devfrom
v15/fix-bug/automatically-selected-uploading-image

Conversation

@NguyenThuyLan
Copy link
Contributor

Prerequisites

  • I have added steps to test this contribution in the description below

If there's an existing issue for this PR then this fixes

Description

This PR fixes the issue #18331
When choosing an image for a Media Picker, after uploading a new image, automatically select the new image for the Media Picker.

…a-picker/media-picker-modal.element.ts

Co-authored-by: Bjarne Fyrstenborg <[email protected]>
NguyenThuyLan and others added 3 commits March 24, 2025 09:44
@iOvergaard
Copy link
Contributor

iOvergaard commented Mar 25, 2025

Please wait with this PR until #18784 has been merged, as that will cause a conflict here, but also improve the way this could work. I will look at it next.

@iOvergaard iOvergaard enabled auto-merge (squash) March 26, 2025 14:26
@iOvergaard iOvergaard merged commit b25bcdc into v15/dev Mar 26, 2025
23 checks passed
@iOvergaard iOvergaard deleted the v15/fix-bug/automatically-selected-uploading-image branch March 26, 2025 15:04
nielslyngsoe pushed a commit that referenced this pull request Mar 27, 2025
…cally selected (#18667)

* Fix bug uploading an image via the Media Picker is no longer automatically selected

* Update src/Umbraco.Web.UI.Client/src/packages/media/media/modals/media-picker/media-picker-modal.element.ts

Co-authored-by: Bjarne Fyrstenborg <[email protected]>

* Update src/Umbraco.Web.UI.Client/src/packages/media/media/modals/media-picker/media-picker-modal.element.ts

Co-authored-by: Jacob Overgaard <[email protected]>

* remove submit modal

* fix: avoids overriding the dropzone manager as that does not work with inheritance

* fix: set disabling of folders correctly

---------

Co-authored-by: Lan Nguyen Thuy <[email protected]>
Co-authored-by: Bjarne Fyrstenborg <[email protected]>
Co-authored-by: Jacob Overgaard <[email protected]>
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