subform.xml
<?xml version="1.0" encoding="UTF-8"?>
<form>
<field
name="date"
type="calendar"
label="JDATE"
format="%d-%m-%Y"
filter="user_utc"
/>
</form>
Joomla! field (assuming we use mod_custom)
<field
name="my-field"
type="subform"
formsource="modules/mod_custom/forms/subform.xml"
multiple="true"
min="1"
layout="joomla.form.field.subform.repeatable-table"
label="my subform field"
/>
The calendar field is load after the subform field. So the calendar is working.
The Calendar setup is load before the subformfield, so the alert that the field can't be found is triggered. When click on the "oke" button the subform is load and the calendar field is working.
Joomla! 3.6.4
Latest version of Google Chrome
Why do we even trigger a alert? Why not just a simple console.log
?
Labels |
Added:
?
|
Status | New | ⇒ | Known Issue |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-12-09 12:58:21 |
Closed_By | ⇒ | brianteeman |
I am going to close this here. Thanks for the report but as stated above the current calendar field wont work and as of 3.7 we have a completely different calendar field
the calendar field from 3.6.4 does not made to work in the subform field,
a new calendar field in 3.7.x by @dgt41 should be fine, in theory