We are starting to convert our app to Crayons and I am having issues trying to use HTML in the fw-select-option tag. I want to add an icon to the select option text. The html-content attribute doesn’t work.
I got it to sort of work by setting the html atrribute and putting html where the option text would normally go however the selected option is not displayed and it won’t work with anything other than fw-icon.
That’s great. Thank you. I wanted to add text and and an icon to each option so had to modify your code slightly as follows. The key was to add the the option-text attribute and use the html-content attribute not the htmlContent property. If the option-text attribute not there then the drop down list empty. I am also using the selected attribute to preselect an option and that works perfectly.