Form with Table error Method Not Allowed

hi Hi, I'm having problems with my filament when I use table and form at the same time, can anyone help? dont call fn create on click button submit... I installed tailwind and it seems to have disconfigured my entire app...
@vite('resources/css/app.css')
<x-filament-panels::page>
<form wire:submit.prevent="create">
{{ $this->form }}
<button class="w-full bg-amber-500 p-2 rounded-lg text-slate-900 font-bold mt-3" type="submit" form="submit">Pagar</button>
</form>
{{ $this->table }}
</x-filament-panels::page>
@vite('resources/css/app.css')
<x-filament-panels::page>
<form wire:submit.prevent="create">
{{ $this->form }}
<button class="w-full bg-amber-500 p-2 rounded-lg text-slate-900 font-bold mt-3" type="submit" form="submit">Pagar</button>
</form>
{{ $this->table }}
</x-filament-panels::page>
6 Replies
Fellipe
Fellipe3mo ago
No description
Fellipe
Fellipe3mo ago
No description
Fellipe
Fellipe3mo ago
No description
Vp
Vp3mo ago
About tailwind: You have to follow this https://filamentphp.com/docs/3.x/panels/themes#creating-a-custom-theme About form: Try simple one like this and check which one breaks.. https://filamentphp.com/docs/3.x/forms/adding-a-form-to-a-livewire-component#adding-the-form Note: I've created a custom page and used form and table without problem
Vp
Vp3mo ago
I see that you use getFormSchema which I don't see in this docs (https://filamentphp.com/docs/3.x/forms/adding-a-form-to-a-livewire-component) maybe this one causes something
Want results from more Discord servers?
Add your server