You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.
It throws error in onTimeSlotTap, Line# 593
When we call this.getCellDate(target) it fails.
As per the code in getCellDate, we fetch the attribute - datetime from 'td' but in our case the 'td' does not have datetime attribute hence returning undefined.
Either we could do (in getCellDate):
var date = dateCell.dom.getAttribute('datetime') || dateCell.up('tr').down('td').getAttribute('datetime');
or on line# 597:
The text was updated successfully, but these errors were encountered:
I can't replicate this issue with the current version on the example apps. Can you check your using the latest code or put up a test case showing it happening?
Thanks!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Steps to reproduce:
It throws error in onTimeSlotTap, Line# 593
When we call this.getCellDate(target) it fails.
As per the code in getCellDate, we fetch the attribute - datetime from 'td' but in our case the 'td' does not have datetime attribute hence returning undefined.
Either we could do (in getCellDate):
var date = dateCell.dom.getAttribute('datetime') || dateCell.up('tr').down('td').getAttribute('datetime');
or on line# 597:
The text was updated successfully, but these errors were encountered: