Skip to content

Commit

Permalink
add name parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmed-aliraqi committed Jan 5, 2023
1 parent d0f1c68 commit c967714
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Resources/views/bootstrap3/image/default.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@php($files = is_array($files) ? json_encode($files) : $files)
<file-uploader :media="{{ $files ?? '[]' }}"
{{ $name ? ':name="'.$name.'"' : '' }}
:max="{{ $max ?? 1 }}"
collection="{{ $collection }}"
:tokens="{{ json_encode(old('media', [])) }}"
Expand Down
1 change: 1 addition & 0 deletions src/Resources/views/bootstrap4/image/default.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@php($files = is_array($files) ? json_encode($files) : $files)
<file-uploader :media="{{ $files ?? '[]' }}"
{{ $name ? ':name="'.$name.'"' : '' }}
{{ $max ? ':max="'.$max.'"' : '' }}
{{ $form ? 'form="'.$form.'"' : '' }}
{{ $unlimited ? ':unlimited="true"' : '' }}
Expand Down

0 comments on commit c967714

Please sign in to comment.