lukas-frey / filament-icon-picker

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

Incompatibility following a dependency update #31

Closed jydevgit closed 7 months ago

jydevgit commented 8 months ago

Since a composer update, I encounter this error with the icon-picker

Do you have an idea?

Declaration of Guava\FilamentIconPicker\Forms\IconPicker::relationship(Closure|string|null $name = null, Closure|string|null $titleAttribute = null, ?Closure $modifyQueryUsing = null): static must be compatible with Filament\Forms\Components\Select::relationship(Closure|string|null $name = null, Closure|string|null $titleAttribute = null, ?Closure $modifyQueryUsing = null, bool $ignoreRecord = false): static

yakou32 commented 7 months ago

I have the same problem. I just installed Filament, and then filament-icon-picker.

lukas-frey commented 7 months ago

@jydevgit @yakou32 Hi, please make sure you're using the latest filament v3 version with the latest icon picker v2 version.