F
Filamentβ€’2y ago
slamx_

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
toekneeβ€’2y ago
Can you share the code? Grids work fine with formSchema
Dennis Koch
Dennis Kochβ€’2y ago
I'm not able to add Grid inside getFormSchema
Why? What's the issue?
slamx_
slamx_OPβ€’2y 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
toekneeβ€’2y ago
That's fine, where is the grid?
Dennis Koch
Dennis Kochβ€’2y ago
Filament
Layout - Form Builder - Filament
The elegant TALL stack form builder for Laravel artisans.
slamx_
slamx_OPβ€’2y 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 πŸ˜…
Want results from more Discord servers?
Add your server