Create a custom field for repeatable (subform).
Create a media field within repeatable (subform).
Click on media as if to upload an image
Here is a video explanation:
https://youtu.be/2zwh2Tvayb4
If you click save you can then update the item.
Can upload media
Nothing happens. Console shows this JS error.
TypeError: this.querySelector(...).open is not a functionjoomla-field-media.js:244:45
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-08-23 17:28:19 |
Closed_By | ⇒ | Quy |
I can confirm this and I already can guess why that is not working, but I have neither the time to rewrite that nor do I know, what problems could occur after a rewrite.
Okay: Try this ->
For those who just want to see that in action, I recorded a small video:
http://sebenns.com/src/VVw4ulL6Iv.mp4
Tl;dr: In the way it is actually implemented it won't work with dynamic rendering.
Modal gets rendered in media.php (124-137).
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/26711.