Skip to content

Commit

Permalink
add loading indicator for the form submit button
Browse files Browse the repository at this point in the history
  • Loading branch information
atmonshi committed Jul 12, 2024
1 parent 80955fe commit 9912ef0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion resources/views/themes/zeus/bolt/fill-forms.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,11 @@ class="bg-white rounded-full shadow-md shadow-custom-100 sm:w-24 object-cover"
{{ $this->form }}

<div class="px-4 py-2 text-center">
<x-filament::button type="submit" :color="$zeusForm->options['primary_color'] ?? 'primary'">
<x-filament::button
form="store"
type="submit"
:color="$zeusForm->options['primary_color'] ?? 'primary'"
>
{{ __('Save') }}
</x-filament::button>
</div>
Expand Down

0 comments on commit 9912ef0

Please sign in to comment.