?
avatar chmst
chmst
17 Jun 2017

see: #16730
**
Reproduce the issue**
Take any calendar field, for example administrator/com_content/models/forms/article.xml
Modify the field "publish_up" like this, i.e. add the attribute todaybutton="false"

<field
	id="publish_up"
	name="publish_up"
	type="calendar"
	label="JGLOBAL_FIELD_PUBLISH_UP_LABEL"
	description="JGLOBAL_FIELD_PUBLISH_UP_DESC"
	class="inputbox"
	translateformat="true"
	showtime="true"
	size="22"
	filter="user_utc"
	todaybutton="false"
/>

Open an article for editing and go to the publishing tab.
The calendar has no todaybutton, but the clear button has gone with the today button.
So the user cannot change a selection in the calendar.

Additional Information:
This behaviour is coded in calendar.js, but seems somehow awkward.

avatar chmst chmst - open - 17 Jun 2017
avatar joomla-cms-bot joomla-cms-bot - labeled - 17 Jun 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 17 Jun 2017

Issue confirmed.

avatar franz-wohlkoenig franz-wohlkoenig - change - 17 Jun 2017
Status New Confirmed
avatar Bakual
Bakual - comment - 17 Jun 2017

@dgt41 I guess for you ?

avatar richard67
richard67 - comment - 17 Jun 2017

Issue confirmed.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/16739.

avatar richard67 richard67 - change - 18 Jun 2017
Title
JFormField Calendar: when todaybutton= false, no clear button is redered
JFormField Calendar: when todaybutton= false, no clear button is rendered
avatar joomla-cms-bot joomla-cms-bot - edited - 18 Jun 2017
avatar richard67
richard67 - comment - 18 Jun 2017

Corrected typo in title


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/16739.

avatar Quy
Quy - comment - 21 Jun 2017

Fixed in #16794

avatar joomla-cms-bot joomla-cms-bot - change - 21 Jun 2017
Closed_Date 2017-06-21 14:24:59 2017-06-21 14:25:00
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 21 Jun 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 21 Jun 2017
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2017-06-21 14:24:59
Closed_By franz-wohlkoenig
avatar joomla-cms-bot
joomla-cms-bot - comment - 21 Jun 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 21 Jun 2017

closed as having PR #16794

Thanks for Hint @Quy


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/16739.

Add a Comment

Login with GitHub to post a comment