Closed slivos closed 2 weeks ago
Could you not just use the existing div with class .iti__arrow
and use CSS to style it how you want e.g. style your own CSS triangle, or use CSS to add your custom background image? Note that the class iti__arrow--up
is added when the dropdown is open, so you can also handle that situation if you like.
As I just commented in a similar issue (linked above), the Vue component is just a thin wrapper around the pure JavaScript plugin, and so it has no way to impact how the markup is generated. So your options are: use a background image with CSS, or if you want to change the markup in some way (e.g. to use an SVG), you would have to inject the SVG into the DOM yourself, after initialisation.
Plugin version
v24.6.0
Steps to reproduce
Expected behaviour
Use slot for rendering custom arrow icon
Actual behaviour
Any slots available
Initialisation options
utilsScript