We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think there is an error in the docs. In Vuejs, it seem like the data param is not present in the router.visit(), only options.
data
router.visit()
options
router.visit('/users', { search: 'John' }, { only: ['users'] })
I think it should be something like:
// Use router.get() to pass data router.visit('/users', { data: { search: 'John' }, only: ['users'] });
https://github.com/inertiajs/inertiajs.com/blob/cdcedece84fb02ef1d3dc75ef253fc89f0dff822/resources/js/Pages/manual-visits.jsx#L866C1-L867C1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I think there is an error in the docs. In Vuejs, it seem like the
data
param is not present in therouter.visit()
, onlyoptions
.I think it should be something like:
https://github.com/inertiajs/inertiajs.com/blob/cdcedece84fb02ef1d3dc75ef253fc89f0dff822/resources/js/Pages/manual-visits.jsx#L866C1-L867C1
The text was updated successfully, but these errors were encountered: