- Issue created by @rkoller
- 🇩🇪Germany rkoller Nürnberg, Germany
I've did some more digging. Is it possible from my none developer perspective that the current behavior is working as designed on the node edit page for a node containing a
Media with contextual modifications
field type?
There are visually hidden input elements after the rendered media library items that look like they are build bymedia_library_media_modify
. But it seems that the media library items before are build in line 397 in the medialibrarywidget.php file with$preview = $view_builder->view($media_item, 'media_library');
and that there is currently no way to have alternative view displays (according to the comment in line 396 pointing to ✨ Allow the MediaLibraryUiBuilder service to use an alternative view display Needs work )? - Status changed to Needs review
9 months ago 4:07pm 18 March 2024 - 🇮🇳India chandravilas Pune
I am also face similar issue, I added a reference field media and selected the widget "Media Library Extra" in a form display, Upload and selection of existing media works fine,
but issue when I click on edit button, pupup opens, once popup open I modified the existing form and saved, Popup get closed but values are not updated on frontend display on node edit form.I solved this issue and created patch for the same, hope attached form helps you.
- 🇮🇳India chandravilas Pune
Patch for 15501932 🐛 on the node edit page contextmod only shows global values for media items even though some are overridden Needs review
#3