getFieldCriteria($this->schema->type()); return $criteria === null || $criteria->isAllowedField($this->getKey()); } /** * Get the value to display to the user. * * @param Model $model * @return string */ public function render(Model $model): string { $fs = Storage::disk(Config::get('image.disk')); return $fs->url($model->getAttribute(Image::ATTRIBUTE_PATH)); } }