F
Filament14mo ago
jop00

SimplePage form not rendering submit button

I have a simple page with a small form but the submit button it's not rendering.
<x-filament-panels::page.simple>
<x-filament-panels::form wire:submit="create">

{{ $this->form }}

<x-filament-panels::form.actions
:actions="$this->getCachedFormActions()"
:full-width="true"
/>

</x-filament-panels::form>
</x-filament-panels::page.simple>
<x-filament-panels::page.simple>
<x-filament-panels::form wire:submit="create">

{{ $this->form }}

<x-filament-panels::form.actions
:actions="$this->getCachedFormActions()"
:full-width="true"
/>

</x-filament-panels::form>
</x-filament-panels::page.simple>
If I add this, the button it's not stylished, just plain text.
<x-button type="submit" class="mt-4">
Create
</x-button>
<x-button type="submit" class="mt-4">
Create
</x-button>
2 Replies

Did you find this page helpful?