acceptedFiles parameter is removed due to default value is defined for acceptedFiles option

This commit is contained in:
Sevan Nerse
2021-01-29 16:23:31 +03:00
parent 1b5f66489a
commit 2c6b107a15
14 changed files with 17 additions and 13 deletions

View File

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