Does not work with Computed Fields
abordage opened this issue · comments
Rating::make('Rating', function () {
return $this->ratingAvg();
})->min(0)->max(5)->increment(0.5)->hideFromIndex(),
Work if change
public function __construct(string $name, ?string $attribute = null, ?mixed $resolveCallback = null)
to
public function __construct(string $name, $attribute = null, ?mixed $resolveCallback = null)
Sorry for my English