Default date in calendar field - Joomla! Forum - community, help and support
hello,
i'm developping module use calendar.
in .xml file have :
but when go administration of module year result not expected :
the year in field 1970 , date selected when click on calendar icon date of prensent day.
if should no problem, when save parameter (ex : 2015) , go edit panel, date again @ 1970. each time want change 1 parameter have change date.
can tell me how "default" option work?
thank you!
i'm developping module use calendar.
in .xml file have :
code: select all
<field
name="start"
type="calendar"
format="%y"
default="2019"
label="mod_information_field_start_year_label"
description="mod_information_field_start_year_desc" />
but when go administration of module year result not expected :
the year in field 1970 , date selected when click on calendar icon date of prensent day.
if should no problem, when save parameter (ex : 2015) , go edit panel, date again @ 1970. each time want change 1 parameter have change date.
can tell me how "default" option work?
thank you!
Comments
Post a Comment