V4 Save form in livewire component
Hi, working on custom plugin for Filamentphp V4
I've worked without problem in the past with the V3 but this time i'm making a plugin that add a register/login form outside the panels
The plugin is registerd in the AdminPanel.
Livewire component
6 Replies
when i submit the form, the create function is called but $this->registerSchema->getState(); us empty
Bonus question: Style
Finally i'm able to load tailwind4 and compile for the component
some style are applied (confirm that works)
but the form is completely unstyled
maybe first verify that styles work when custom theme is disabled, then recheck the necessary tailwind changes on the custom theme are done and successfully built
also there's a bug with some styles not currently working https://github.com/filamentphp/filament/issues/16257
GitHub
v4 Some styles don't render properly when Vite dev server is runnin...
Package filament/filament Package Version 4-alpha6 Laravel Version 12 Livewire Version 3 PHP Version 8.4 Problem description Some button styles aren't rendering properly when using the Vite dev...
I've created a custom admin theme and compiled everything — the final CSS is around 500KB, which seems a bit heavy?
By the way, my plugin is currently front-end only. I assume custom themes are meant for the Filament admin panel, right?
The CSS for the public pages is included in the plugin and loads correctly, but it doesn't seem to style the form inputs.
Inspecting the HTML, I see something like this:
The input has the fi-input class but no Tailwind classes — is that expected? Should I manually style those in the public-facing plugin?

regarding the empty form, i get
No property found for validation: [tenant_name]
i've added this to every field, but did not solve
->validatedWhenNotDehydrated(false)
my mount function is
local.DEBUG: RegisterTenant component mounted
ok, solved the functional part
now i need to style the form
done with custom css
