You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, today I installed the package and got an error
Declaration of Benjacho\BelongsToManyField\BelongsToManyField::jsonSerialize() must be compatible with Laravel\Nova\Fields\Field::jsonSerialize(): array
I solved this problem by adding to the jsonSerialize method of the BelongsToManyField class, return type of array
public function jsonSerialize(): array
The text was updated successfully, but these errors were encountered:
Hello, today I installed the package and got an error
I solved this problem by adding to the jsonSerialize method of the BelongsToManyField class, return type of array
public function jsonSerialize(): array
The text was updated successfully, but these errors were encountered: