Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Support for nested paths in forms #2181

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

joaopalopes24
Copy link

@joaopalopes24 joaopalopes24 commented Jan 10, 2025

This PR adds support for nested paths in forms: React, Vue and Svelte.

I add support for all methods: setData, reset, setErros, clearErros, defaults.

@joaopalopes24 joaopalopes24 marked this pull request as ready for review January 13, 2025 00:28
@joaopalopes24
Copy link
Author

@joetannenbaum Check this PR later, please. I think this is very important.

@joaopalopes24
Copy link
Author

This also fixes this error:

laravel/precognition#116

I thought this error was in the Laravel Precognition, but useForm in Inertia does not accept nested paths.

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.

1 participant