- Issue created by @Bunksly
- πΊπΈUnited States scott_earnest
could be duplicate of this issue:
https://www.drupal.org/project/drupal/issues/3388913 π Media library modal field widget does not render selection checkbox after search Active
- πΊπΈUnited States scott_earnest
We are still experiencing this issue, and it has become a hard one to troubleshoot as with a cache clear we see the problem fixed, but later we find another search string that produces a similar result.
So for us the issue is the same as described: missing checkboxes after using the media library name search.
Upon inspecting these cells I can see that the placeholder for the checkbox that does not seem to get replaced - i don't see these on cells with checkboxes (see attached).
<span class="field-content"><!--form-item-media_library_select_form--11--></span>
On the media library view, here:
- /admin/structure/views/view/media_libraryFor a brief second is see the warning message "You have unsaved changes". I click save with no updates, do NOT clear the cache, and I can no longer reproduce the issue.
This site was also a D9 -> D10 upgrade.
- πΊπΈUnited States grgcrlsn321
Commenting to escalate the issue. Having the same experience when searching for images in Media Library images are not selectable in grid mode. Switching back forth the checkboxes appear, but if you search and apply filters results will vary on if you can select the image based on the string name.
I also notice another issue where the wrong image is inserted after selecting a checkbox and only happens when grid view is showing images without checkbox.
- πΊπΈUnited States scott_earnest
@grgcrlsn321 - this would appear to be a duplicate of:
https://www.drupal.org/project/drupal/issues/3388913 π Media library modal field widget does not render selection checkbox after search Active
That ticket is very active and has a testable patch.
Closing this ticket in favor of 3388913
- Status changed to Closed: duplicate
about 1 year ago 5:02pm 13 December 2023 - πΊπΈUnited States scott_earnest
https://www.drupal.org/project/drupal/issues/3388913 π Media library modal field widget does not render selection checkbox after search Active
- π¨π¦Canada liquidcms
Just a comment to future self when i come looking for this again. Twig debug breaks being able to select items in the media browser.
- First commit to issue fork.