I have been trying to get the core <icon-selector>
widget to work on the front end of a site (ie, not in an edit dialog). Basic Atomik theme.
Its almost working, the Concrete.Vue
component is creating all the options and adding the TomSelect widget. All the extra DOM elements for TomSelect are created. But that is where its stops. Either TomSelect has died, or something is removing TomSelect’s click event handler from the input element.
The code I am using has worked in the dashboard. Nothing red in the developer console. My guess is that either something is missing or it just isn’t designed to be usable on a front end page. Has anyone else explored this? any tips?
I have my own icon selector used in various addons, but before taking a step back implementing that for my current project I would like to see if I can get the core icon selector working.