-
-
Notifications
You must be signed in to change notification settings - Fork 99
Open
Labels
bugSomething isn't workingSomething isn't workingdoneIssue is fixed, will most likely be included in the next release.Issue is fixed, will most likely be included in the next release.
Description
- Before posting an issue, read the FAQ and search the previous issues.
Description
Basically the title of the issue:
const formSchema = z.object({
"orderby": z.boolean().default(true), // Set default value of `orderby` to `true`
});
const url = new URL("http://test.com") // create an `URL` with no `searchParams` set.
const form = await superValidate(url, zod(formSchema)) // URL validation.
console.log(form.data.orderby) // returns `false`Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdoneIssue is fixed, will most likely be included in the next release.Issue is fixed, will most likely be included in the next release.