I'm using a custom icon set, which is a subset of Font Awesome 5, and contains both "regular" and "brand" icons, so I can't use iconClass. I'm initialising the iconpicker like this:
The problem is that when selecting an icon, the btn-success class isn't being added. Note that is is added if the empty option is selected, so I believe it's related to there being spaces in the icon names.
I'm using a custom icon set, which is a subset of Font Awesome 5, and contains both "regular" and "brand" icons, so I can't use
iconClass
. I'm initialising the iconpicker like this:The problem is that when selecting an icon, the
btn-success
class isn't being added. Note that is is added if theempty
option is selected, so I believe it's related to there being spaces in the icon names.