Skip to content

Adding custom (data) attributes to select input #298

@jochienabuurs

Description

@jochienabuurs

For analytics purposes, I would like to add certain data attributes to the select element so interactions with it can be tracked with analytics software. Looking at the docs, there is no such option.

Would you consider adding it? Or is there some other approach to this? Like for example storing a reference to the select (searching by name attribute) and on mount, add the required data attributes?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions