Tell us what you are trying to do?
I would like an WordPress Editor to be able to select a font awesome icon.
I would like to setup a custom field for that using a select.
What we need:
Can you supply an example of what code is needed in the select?
Is there any documentation that you are following?
None found
Is there a similar example that we can see?
Not that we know
What is the link to your site?
Site and functionality is under construction, but we need this asap.
Co-incidentally I'm just dealing with another thread where it has been reported that there is a bug in the select fields so that any HTML elements added to the display text are stripped, which means right now what you want isn't possible because the font-awesome icons are added something like this:
<i class="fas fa-coffee fa-xs"></i>
I've escalated this issue to the developers, who will hopefully be able to provide a fix before too long.
Until then it's not possible. I'll update again here as soon as I have news from the developer about a solution.