Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JFormField Calendar: when todaybutton= false, no clear button is rendered #16739

Closed
chmst opened this issue Jun 17, 2017 · 7 comments
Closed

Comments

@chmst
Copy link
Contributor

chmst commented Jun 17, 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.

@ghost
Copy link

ghost commented Jun 17, 2017

Issue confirmed.

@Bakual
Copy link
Contributor

Bakual commented Jun 17, 2017

@dgt41 I guess for you 😄

@richard67
Copy link
Member

Issue confirmed.


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

@richard67
Copy link
Member

Corrected typo in title


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

@joomla-cms-bot joomla-cms-bot changed the title JFormField Calendar: when todaybutton= false, no clear button is redered JFormField Calendar: when todaybutton= false, no clear button is rendered Jun 18, 2017
@Quy
Copy link
Contributor

Quy commented Jun 21, 2017

Fixed in #16794

@joomla-cms-bot
Copy link

Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/16739

@ghost
Copy link

ghost commented Jun 21, 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants