F
Filamentβ€’16mo ago
Ricardo Sawir

Can we customize filament's form layout and custom view with "designed" elements?

I'm thinking to create a form page like this one... I don't think we can achieve this only by using filament's default styling... as you can see, the form select is kind of placed side by side with each other. There's a button in between the select form. Can we still use filament's form, but with the custom view?
3 Replies
Patrick Boivin
Patrick Boivinβ€’16mo ago
This should be possible with custom CSS. I'm thinking you could wrap the block with 2 selects and 1 button into a Group component and add a custom CSS class to it.
Ricardo Sawir
Ricardo SawirOPβ€’16mo ago
Hm, custom css may work. I'm interested to also know if we can achieve using like <x-my-custom-input wire:model="{{ $getStatePath('origin') }}" /> and <x-my-custom-input wire:model="{{ $getStatePath('departure') }}" />
Patrick Boivin
Patrick Boivinβ€’16mo ago
Should be possible, it's all Livewire under the hood in the end πŸ˜„
Want results from more Discord servers?
Add your server