If you choose a number the module will give you this error (for example "1"):

Invalid icon name 1. Please see the Font Awesome icon list for correct icon names, or turn off validation in the Font Awesome settings if you are trying to use custom icon names.

This is because it has been using strict comparison:
https://git.drupalcode.org/project/fontawesome/-/blob/8.x-2.x/src/FontAw...

$findIcon is a string("1") and $icon['name'] is a number(1).

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

rpayanm created an issue. See original summary.

rpayanm’s picture

We could compare them using "==" or apply the attached patch.

finnsky’s picture

Status: Needs review » Reviewed & tested by the community

Fix works for me.
Thank you!