Form Grid inside Page

Hey I'm new into Filament, I try to create a custom user Page whit multiple forms but I'm not able to add Grid inside getFormSchema? Any Tips to fix my problem?
6 Replies
toeknee
toeknee2y ago
Can you share the code? Grids work fine with formSchema
Dennis Koch
Dennis Koch2y ago
I'm not able to add Grid inside getFormSchema
Why? What's the issue?
slamx_
slamx_OP2y ago
protected function getFormSchema(): array { return [ Forms\Components\TextInput::make('current_password')->required()->password(), Forms\Components\TextInput::make('new_password')->required()->password(), Forms\Components\TextInput::make('new_password_confirm')->required()->password(), ]; } This is the getFormSchema inside die Filament Page
toeknee
toeknee2y ago
That's fine, where is the grid?
Dennis Koch
Dennis Koch2y ago
Filament
Layout - Form Builder - Filament
The elegant TALL stack form builder for Laravel artisans.
slamx_
slamx_OP2y ago
Was my mistake, I thougth I need to add the grid arround the input schema, but makes no sense! Thank you guys for the fast reply 😅

Did you find this page helpful?