diff --git a/panel/views/fields/upload.php b/panel/views/fields/upload.php index c593d1d9..707a7034 100644 --- a/panel/views/fields/upload.php +++ b/panel/views/fields/upload.php @@ -1,9 +1,10 @@ -has('label')) : ?> - - get('listFiles', false) && ($model = $field->parent()?->model())) : ?> insert('fields.partials.filelist', ['model' => $model, 'files' => $field->collection()]); ?> +has('label')) : ?> + + has('suggestion')) : ?>(escape($field->get('suggestion')) ?>) + attr([ 'type' => 'file', 'class' => ['form-input', 'form-input-file'],