- Issue created by @axroth
- πΊπ¦Ukraine Extatic
Hey Axel!
One point here - the current behaviors are:
It works for /media/{id}/edit but doesn't for /media/add/image
We debugged that widget detection is skipped for media add form inherited form in case it uses hardcoded 'file_managed' string @see line 163 at /core/modules/media_library/src/Form/FileUploadForm.php . - π«π·France lazzyvn paris
can you merge to one issue π 3-in-1 : Notification on success missing, add/edit media in popup form doesn't work properly Active .
For now I'm creating screenshots for the image field type. I think media is an entity type, we need to create another screenshot widget for media.
one thing i can do that create an option in block config after taking screenshot it will be saved to server folder and file_manage + media. -
lazzyvn β
committed 7c31ea28 on 1.x
Issue #3424818: Widget not added in media library
-
lazzyvn β
committed 7c31ea28 on 1.x
- Status changed to Fixed
10 months ago 3:23am 10 March 2024 - π«π·France lazzyvn paris
Set media / form_widget - default / field_media_image screenshot. it will enable button capture in media popup.
Automatically closed - issue fixed for 2 weeks with no activity.