Buy Now
Sign in

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

healyhatman , April 03 at 00:28
Answered
H
healyhatman
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,
Web developer at SkySpider.com.au
admin
Hi healyhatman,
Thank you, fixed in the next update!
Best regards
Max
If your main question got answered then please mark the answer using the button!​
​Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!