@php \TallStackUi\Foundation\Exceptions\MissingLivewireException::throwIf($livewire, 'upload'); [$property] = $bind($attributes, livewire: $livewire); $personalize = $classes(); $value = data_get($this, $property); if (is_null($property)) throw new Exception('The [upload] component requires a property to bind using [wire:model].'); @endphp
{{ $placeholder }}
@endif{{ __('tallstack-ui::messages.upload.upload') }}
{{ $tip }}
@else {{ $tip }} @endif runningUnitTests()) @class($personalize['placeholder.input']) @endif x-ref="files" {{ $attributes->only(['accept', 'x-on:upload']) }} x-on:change="upload()" x-on:dragover="dragging = true" x-on:dragleave="dragging = false" x-on:drop="dragging = false;" @if ($multiple) multiple @endif />{{ $file['real_name'] }}
{{ __('tallstack-ui::messages.upload.size') }}: {{ $file['size'] }}
@endif{{ __('tallstack-ui::messages.upload.static.empty.description') }}