We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi!
After a
composer require nikaia/nova-rating-field
I added
use Nikaia\Rating\Rating;
Then,
public function fields(Request $request) { return [ ID::make(__('ID'), 'id')->sortable(), BelongsTo::make('Enseigne', 'merchant', Merchant::class)->sortable(), Textarea::make('URL', 'url'), Text::make('Titre', 'title'), Textarea::make('Description', 'description'), Text::make('Prix', 'price'), Text::make('Image', 'image'), Rating::make('Rating', 'score') ->min(0) ->max(4) ->increment(1) ->sortable() ->withStyles([ 'star-size' => 24, 'rounded-corners' => true ]), ]; }
On Visual Studio Code, I have this issue:
Undefined type 'Nikaia\Rating\Rating'
It's working on local, but not in PROD (but no php error or warning...) Any ideas?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi!
After a
composer require nikaia/nova-rating-field
I added
use Nikaia\Rating\Rating;
Then,
On Visual Studio Code, I have this issue:
Undefined type 'Nikaia\Rating\Rating'
It's working on local, but not in PROD (but no php error or warning...)
Any ideas?
The text was updated successfully, but these errors were encountered: