Use media
field in subform.
Works correctly on existing and new rows.
Javascript error.
TypeError: this.querySelector(...).open is not a function
joomla-field-media.js:244:45
Joomla 4 alpha8
Labels |
Added:
?
|
Status | New | ⇒ | Discussion |
Replace /administrator/components/com_content/forms/article.xml
with attached file (rename to .xml), it adds the code:
<field
name="media_gallery"
type="subform"
multiple="true"
layout="joomla.form.field.subform.repeatable-table"
label="Gallery"
>
<form>
<field name="path" type="media" required="true"
label="Image" />
</form>
</field>
Edit article and see Gallery field in Options, try to add items and select images.
ok I will try it.
@puneeth2001 any Update?
Status | Discussion | ⇒ | Information Required |
Category | ⇒ | com_fields |
not yet, working on it.
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-03-26 19:38:43 |
Closed_By | ⇒ | joomla-cms-bot |
Closed_By | joomla-cms-bot | ⇒ | Quy |
Set to "closed" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/24179
Please test PR #24362
Should this issue be reopened? It works with single field (multiple="false"), but multiple="true" throws the same error on alpha11
@Denitz I could not reproduce the issue can you help me how.