Closed vitalijalbu closed 3 months ago
Hey @vitalijalbu! I think you can get by without using the useForm
hook here. I'd recommend just navigating the page in the onChange
hook for your select, rather than setting form state and subsequently triggering navigation. Simplified example:
<select value={props.filters.order_by} onChange={(e) => router.get("/page", { order_by: e.target.value })}>
Version:
@inertiajs/react
version: latestDescribe the problem:
Please see here description: https://github.com/inertiajs/inertia/discussions/1774