-
-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Description
What is the new or updated feature that you are suggesting?
Hi, is there already a way to use rvf with React Router and GET forms ?
Calling parseFormData from the loader obviously fails since the data has to be pulled from the search params instead of the form data.
Calling mySchema.safeParse is a workaround but it's hard to handle errors as cleanly and accurately as rvf does.
Is there something I missed ? If not, I think a way to validate forms in loader via parseSearchParams or something would be a great way to handle complex search forms.
Why should this feature be included?
The most obviously useful usecase I can think of is a complex search form, that needs to keep its state when refreshing the page.
Metadata
Metadata
Assignees
Labels
No labels