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?
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?