How to create custom page

I follwed this doc https://filamentphp.com/docs/2.x/admin/resources/custom-pages

It created a filament custom resource and a view.

In the custom page I added

class ChangePassword extends Page
{
protected static string $resource = UserResource::class;
protected static string $view = 'filament.resources.user-resource.pages.change-password';

protected function getActions(): array
{
return [
Actions\Action::make('save')
]),
];
}

public static function form(Form $form): Form
{
return $form
->schema([
TextInput::make('description')
->maxLength(100)->required(),
TextInput::make('denominated')
->maxLength(100)
]);
}


It just added the action but not the form just like in the image shown, How can I display the form?
Screenshot_1.jpg
Filament
The elegant TALL stack admin panel for Laravel artisans.
Was this page helpful?