Luka Bracanović
Luka Bracanović
It seems like problem is more complex than just rendering twice. Dispatching redux action in the same effect where a local state is updated cancels the local state update. I've...
I can confirm, it works.
In Prisma 5+ you can transform the error with catch. ``` const user = await db.user.findUniqueOrThrow({ where: { id: 123 }, }).catch(() => { throw new Error('My custom error'); });...
Please take a look at [antd-zod](https://github.com/MrBr/antd-zod). I've implemented a npm package that creates a generic rule per schema that you can use in combination with antd `Form.Item`. Written in TS...
@colinhacks I've open a PR (#21) with Zod 4 support. Please take a look. In general it was simple migration. On the PR I noted a few issues that I've...
Thanks, I've deployed a new major version for Zod 4. Closing the issue.
Thanks for notifying me. I'll test how it works with the new Antd and get back to you.
Took a bit more playing around. Created a new PR to make the process simpler. Thank you for contributing. Follow up PR - https://github.com/MrBr/antd-zod/pull/23
I have a similar problem. I'm trying to update all depending fields when a field changes. This is an example that results in a invalid state: ```ts const { unsubscribe...
That's the case for `control.watch`, but not `control.subscribe`. In any case, more control would be good, an option to call `setValue` with the `type=change` for custom inputs.