Skip to content

Conversation

MeiKatz
Copy link

@MeiKatz MeiKatz commented Sep 30, 2025

<Form /> is a great addition to InertiaJS. But it would be greater if I could use it for sending manual requests to my api and benefit from the other features offered by <Form />. Currently there is no good way for accessing either the form element itself or the data managed by the Form component. I don't want to use useForm() and have to manually handle the state of my input fields. Getting access to the form data as FormData object or as an plain old JS object would be great.

I currently omitted the tests. If the feature is accepted I will add them.

@pascalbaljet
Copy link
Member

Looks good to me!

@MeiKatz
Copy link
Author

MeiKatz commented Sep 30, 2025

Okay, I will add the tests in the coming hours.

@pascalbaljet pascalbaljet marked this pull request as draft October 1, 2025 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants