lukas-frey / filament-icon-picker

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

Bug: sets not working #22

Closed mohssineAboutaj closed 4 months ago

mohssineAboutaj commented 6 months ago

Hi! I'm trying to use sets to allow only specific icons set, but it didn't work, from Resource or config file in my project, I'm using heroicons and mdi, in this example I tried to use only heroicons but still got the MDI icons on search, you can find below the code and image of the result

IconPicker::make('icon')
  ->sets(['heroicons'])
  ->required(),

image

lukas-frey commented 6 months ago

You need to clear the cache.