Adding Submit-Button via getFormSchema

Hey - Maybe I am too tired, but right now I struggle on creating a simple form on a Page.
So far I got this:
protected function getFormSchema() : array
    {
        return [
            Section::make('Search somethine')->schema([
                TextInput::make('parameter_one')->label('Parameter one'),
                TextInput::make('parameter_two')->label('Parameter two'),
            ])
        ];
    }

What I want is to create a simple search-form with 2 parameters where there is a button below the Text-Inputs which then submits the form, but as soon as I try to add Action::make() PHP comes down on me.
I am sure I can do what I want somehow within the getFormSchema()-method, but I don't see how. I want the button specificly below the Textinputs and NOT on the top right where the Page-Actions would normally reside. What am I missing here?
(@pboivin)
Was this page helpful?