diff --git a/formwidgets/Responsiveimage.php b/formwidgets/Responsiveimage.php index 4129c60..df29fbf 100644 --- a/formwidgets/Responsiveimage.php +++ b/formwidgets/Responsiveimage.php @@ -80,7 +80,7 @@ class Responsiveimage extends FormWidgetBase $this->vars['minWidth'] = $this->minWidth ?: '0'; $this->vars['name'] = $this->formField->getName(); $this->vars['value'] = is_numeric($this->getLoadValue()) ? $this->getLoadValue() : 'null'; - $this->vars['meta'] = $this->getLoadValue() + $this->vars['meta'] = is_numeric($this->getLoadValue()) ? $this->vueParam(app(UploadStorage::class)->getFileData($this->getLoadValue())) : 'null'; $this->vars['model'] = $this->model;