Move "Save changes" button to sit between fields
Is it possible to render the form buttons "Save changes" and "Cancel" so they sit between 2 fields instead of bottom or top of form?
I have my form which is made up of a text input, a code editor and a section that contains a fieldset which contains 3 checkbox lists. The check box lists are live so I'd like to put the save button before the section... any ideas?
Cheers, Tee
I have my form which is made up of a text input, a code editor and a section that contains a fieldset which contains 3 checkbox lists. The check box lists are live so I'd like to put the save button before the section... any ideas?
Cheers, Tee
Solution
I think you could get this to work with Form Actions:
https://filamentphp.com/docs/3.x/forms/actions#defining-a-form-component-action
And something like this for the action?
https://filamentphp.com/docs/3.x/forms/actions#defining-a-form-component-action
And something like this for the action?