Icons being clicked cause elem.split to fail
HarleyWilkins opened this issue · 1 comments
HarleyWilkins commented
Describe the bug
When you click a button with an icon in it you get an error telling you the elem.split function failed.
To Reproduce
Steps to reproduce the behavior:
- Add a button with an icon or an icon that calls the open logic in some way.
- When the button/icon is clicked You receive the error.
Expected behavior
While the date picker still will show up, the console error should not happen as the item clicked may not have a class and wont be parsed if it is an icon.
Desktop (please complete the following information):
- OS: Windows 11
- Browser: Chrome/Brave
- Version: 4.3.3
HarleyWilkins commented
pull request to fix it #126