Daniel Weinmann

Results 15 issues of Daniel Weinmann

Let's say we're updating a user at `/users/$userId/edit`: ```tsx const formSchema = z.object({ firstName: z.string().min(1), email: z.string().min(1).email(), }) const mutationSchema = formSchema.extend({ userId: z.string() }) const mutation = makeDomainFunction(mutationSchema)(async (values)...

This will allow more visual customization for checkbox and radio individual option labels. Right now, they are rendered using the same `labelComponent` as field labels. In order not to make...

enhancement

Right now, it's not that simple to infer if a field is a `ZodString` with an `email` check from inside `renderField`. We could make `shapeInfo` parse this information and expose...

Right now, if we want to render the HTML's `required` attribute in a project-wide way, we have to introspect the Zod schema inside `renderField` because `SmartInput` doesn't receive the `required`...