lukas-frey / filament-icon-picker

An icon picker field for Filament
MIT License
106 stars 20 forks source link

Unable to search fontawesome icons #5

Closed helderlj closed 1 year ago

helderlj commented 1 year ago

I'm unable to search fontawesome icons. I'm have installed Blade Icons and the specific Blade Font Awesome icons but did no worked. Any pointers on how to solve this? Dont know if its really a bug or a config is missing.

lukas-frey commented 1 year ago

Hi @helderlj, all you need to do is install the font awesome blade icon or any other icon set from here. By default, the plugin uses every available icon set.

Right now the only thing that comes to my mind is - did you install the font awesome package after this plugin? The plugin caches the icons for 7 days by default, try clearing your cache by running php artisan cache:clear to see if the issue resolves.

helderlj commented 1 year ago

I think that did it! Thank you very much! image

lukas-frey commented 1 year ago

I think that did it! Thank you very much! image

You're welcome. If you publish the config, you can configure the caching duration or completely disable it. But I recommend keeping it on, it can take a bit to load all icons especially if you use big icon packs like font awesome or have many of them.

Shipu commented 1 year ago

php artisan cache:clear cache clear but only showing heroicons.