Forums

Calendar: Open days can't be set to single day

healyhatman 03 Apr, 2018
Answer
1 Likes
If you create a Calendar field and under "Open Days" only enter in one day, the field doesn't work properly and the console shows an error:
Uncaught TypeError: $(...).data(...).split is not a function
at HTMLInputElement.<anonymous> (d097e0503ac52e58b350af267113b7bf.js:161)
at Function.each (jquery.min.js?caab27b4a74c50506713276b280bd737:2)
at a.fn.init.each (jquery.min.js?caab27b4a74c50506713276b280bd737:2)
at Object.$.G2.boot.calendar (d097e0503ac52e58b350af267113b7bf.js:125)
at HTMLFormElement.<anonymous> (d097e0503ac52e58b350af267113b7bf.js:276)
at HTMLBodyElement.dispatch (jquery.min.js?caab27b4a74c50506713276b280bd737:3)
at HTMLBodyElement.r.handle (jquery.min.js?caab27b4a74c50506713276b280bd737:3)
at Object.trigger (jquery.min.js?caab27b4a74c50506713276b280bd737:3)
at Object.a.event.trigger (jquery-migrate.min.js?caab27b4a74c50506713276b280bd737:2)
at HTMLFormElement.<anonymous> (jquery.min.js?caab27b4a74c50506713276b280bd737:3)
It will work though if you enter your single day with a comma after, as in
1,
Max_admin 09 Apr, 2018
1 Likes
Hi healyhatman,

Thank you, fixed in 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.
This topic is locked and no more replies can be posted.