Skip to content

Commit

Permalink
#187: Uploading animation added
Browse files Browse the repository at this point in the history
  • Loading branch information
alimranahmed committed Sep 15, 2024
1 parent 764c969 commit 7a06f78
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion resources/views/livewire/backend/config/image-form.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@

<label for="{{$file_name}}" class="cursor-pointer mt-1">
<input id="{{$file_name}}" type="file" wire:model="{{$file_name}}" class="sr-only"/>
<span class="text-slate-900 rounded px-2 leading-6 text-sm bg-indigo-300 hover:bg-indigo-400 py-1">Change</span>
<span class="text-slate-900 rounded px-2 leading-6 text-sm bg-indigo-300 hover:bg-indigo-400 py-1"
wire:target="{{$file_name}}"
wire:loading.class="cursor-wait animate-pulse"
>Change</span>
</label>

@if(${$file_name} && !$errors->has('file_name'))
Expand Down

0 comments on commit 7a06f78

Please sign in to comment.