Dear Sirs,
According to the site: https://github.com/mdehoog/Semantic-UI-calendar, I tried to put in Extra attributes calendar field:data-disableMinute:falseordisableMinute:falseBut, none of them work to disable minute selection mode.
Please, help with that,
Thank you
Mauro
Sorry, correcting the merged text above:
--
I tried to put in Extra attributes calendar field:
data-disableMinute:false
or
disableMinute:false
But, none of them work to disable minute selection mode.
--
Thank you
Mauro
Wouldn't you want disableMinute:true ?
No I don't think there's a way built-in.
OKAY so there is a way built in, there's a "disableMinute" setting included with the calendar code, I'm just trying to figure out how to actually set it.
I've sent an email to Max, we'll see if he gets back to me there or here on this post. I'm happy to work through and figure things out myself a bit I just need him to point me in the right direction or, better yet, just tell me straight up how to do it🙂
And I am happy to have helpful people supporting this great tool.
Thank you Healyhatman.
Dear Healyhatman
Did you get the max's answer about this case?
Thank you
Mauro
He said it doesn't currently support that and that he would have to look at the code at a later date.
I eould use the contact link up top to email him and say you also would like the ability to set additional settings using data- tags.
Or ask him to tell me where in the CF code the calendar settings get initialised🙂
Dear Healyhatman
Sorry for the late reply, it worked perfectly.
Thanks you two.
Mauro
Hi,
First of all thanks for solution - this works like a charm. But it would be great to have it implemented in core on your side to avoid change this every time after updates. Do you have already some idea when disabling minutes will be implemented in core?
Thanks
Alex
Hi Alex,
This has been added to the next update!
Best regards
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi Max,
that's awesome news!
Thanks
Alex,
But in Chronoforms 7 it does not seem to work: although I disabled it by choosing DD/MM/YYYY as display format and as real format, it still shows the hours and minutes.
Kind regards,
Jan
The calendar field "Type" setting is set to Date ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
it works fine here, please clear your browser's cache, make sure you have the latest update installed!
if still not working then please send me a backup of your form on the Contact page!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Cache cleared, latest update installed. After installing v7 it first worked well. I'll send you a form.
I found the issue, it's because your form has a Javascript error, which is caused by the wrong field mask value in the 2 fields up the form, once the mask is fixed or removed the calendar works fine!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.