Skip to content

Icons being clicked cause elem.split to fail #127

@HarleyWilkins

Description

@HarleyWilkins

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions