Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icons being clicked cause elem.split to fail #127

Open
HarleyWilkins opened this issue Dec 19, 2023 · 1 comment
Open

Icons being clicked cause elem.split to fail #127

HarleyWilkins opened this issue Dec 19, 2023 · 1 comment

Comments

@HarleyWilkins
Copy link

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:

  1. Add a button with an icon or an icon that calls the open logic in some way.
  2. 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
Copy link
Author

pull request to fix it #126

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant