Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Jul 16, 2024
1 parent 8447db9 commit 0ac4e61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resources/views/upload.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
'disabled' => false,
'placeholder' => 'Drag & Drop your files or <span class="filepond--label-action"> Browse </span>',
])

@php
if (! $wireModelAttribute = $attributes->whereStartsWith('wire:model')->first()) {
throw new Exception("You must wire:model to the filepond input.");
Expand All @@ -22,8 +23,8 @@
$pondProperties = collect($pondProperties)
->mapWithKeys(fn ($value, $key) => [Illuminate\Support\Str::kebab($key) => $value])
->toArray();
@endphp

<div
class="{{ $attributes->get('class') }}"
wire:ignore
Expand Down

0 comments on commit 0ac4e61

Please sign in to comment.