Im converting an old project to Vue.js, and Im having trouble rendering a select list that contains Font Awesome icons inside it.
My code was...
<select id='fa_select'>
<option value='fa fa-address-book'> fa-address-book</option>
<option value='fa fa-address-book-o'> fa-address-book-o</option>
etc etc etc
</select>
Which works fine in the old project using bootstrap and Jquery.
But when I put this list into Vue.js however, it doesnt work. I have vue-bootstrap installed, and have fa-icons working. For instance, I can do
<i class='fa fa-phone'></i>
And it displays just fine, so I know the stylesheet for Font Awesome icons is importing and working properly.
So then, why won't they display in the list??
I also tried v-html as well, just incase I needed to wrap it as html, that also didnt work either.
<option value='fa fa-address-book' v-html="' fa-address-book'"></option>
Any ideas?