When I try to set today's day (here it's Wednesday) as a non working day and hide it, I got this error: 'Uncaught TypeError: can't access property "appendChild", i is null'
You can find a test case in file attachments.
Support Forum
- Attachments
-
- minimal test case.zip
- Test case for bug reproduction (put the bryntum files in the bryntum folder)
- (2.73 KiB) Downloaded 44 times
nonWorkingDays
is an object.
https://www.bryntum.com/docs/calendar/api/Calendar/view/Calendar#config-nonWorkingDays
I tweaked the "Basic" example to hide Wednesdays and all views hide Wednesdays:
Yep, that's fully correct. The the extra detail was that the view contains "today", and there you found our bug!
The updating of the current time indicator doesn't handle the today element not being there (It's a hidden non working day)
Here is a ticket for it: https://github.com/bryntum/support/issues/5333