BrendanC23

Results 59 comments of BrendanC23

+1 to this. Currently, I'm doing get(`foo.${num as 0}.bar`) which makes the types work but isn't very elegant.

@MomenSherif Thanks for this PR. It helped me fix some performance issues and un-necessary renders that have been difficult to isolate. It works great. Without this PR, changes to a...

That has to do with the `reValidateMode`, which is `onChange` by default. See [these docs](https://react-hook-form.com/docs/useform). If you change it to `reValidateMode: "onSubmit"`, then after clicking submit, only the label associated...

Here's an [open PR](https://github.com/shadcn-ui/ui/pull/1563) for this.

This is still an issue.

> I created it, but I think it can be improved/simplified/refactored, I hope this code will be useful for creating these reused components. @shadcn what's your take on that? >...

Can this be re-opened?

This would be useful. It would be great if clicking an already-selected value would deselect it and set the value to `""`.

Here's the same [StackBlitz](https://stackblitz.com/edit/github-rodaot-y5scdt?file=src%2Fmain.tsx) as @kimsagro1 with the latest TanStack Router packages. Now: * Throw error from root: defaultErrorComponent is shown, navbar is not rendered (navbar is part of the...

@colinhacks Do you have any updates on when Zod 4 might be done? The current version has been great, but it sounds like Zod 4 will be a huge improvement.