parameter of accepted files is arranged for the fileGroup partial

This commit is contained in:
Sevan Nerse
2021-01-17 12:59:49 +03:00
parent c5fd225057
commit fe97d51e49
12 changed files with 12 additions and 12 deletions

View File

@ -30,7 +30,7 @@
{{ Form::selectRemoteAddNewGroup('category_id', trans_choice('general.categories', 1), 'folder', $categories, $item->category_id, ['path' => route('modals.categories.create') . '?type=item', 'remote_action' => route('categories.index'). '?search=type:item']) }}
{{ Form::fileGroup('picture', trans_choice('general.pictures', 1), '', ['dropzone-class' => 'form-file']) }}
{{ Form::fileGroup('picture', trans_choice('general.pictures', 1), '', ['dropzone-class' => 'form-file', 'options' => ['acceptedFiles' => 'image/*']]) }}
{{ Form::radioGroup('enabled', trans('general.enabled'), $item->enabled) }}
</div>