F
Filament3d ago
o.m

Why is the form not showing?

I added a form but it is not showing on the page why?
No description
No description
3 Replies
o.m
o.mOP3d ago
Updated everything with this code still nothing is showing
public function form(Form $form): Form
{
return $form->schema([
TextInput::make('name')
->required(),
TextInput::make('email')
->required()
->unique()
->email(),
TextInput::make('password')
->required()
->password()
]);
}

public function getFormActions(): array
{
return [
Action::make('submit')
];
}
public function form(Form $form): Form
{
return $form->schema([
TextInput::make('name')
->required(),
TextInput::make('email')
->required()
->unique()
->email(),
TextInput::make('password')
->required()
->password()
]);
}

public function getFormActions(): array
{
return [
Action::make('submit')
];
}
awcodes
awcodes3d ago
did you add the form to the view? {{ $this-form }}
o.m
o.mOP3d ago
I didn't now I just figured it out

Did you find this page helpful?