-
So we are currently using React Hook Form with a Does anyone have any ideas/better ways to implement this? Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
You can use resolver option "mode=async" from zod resolver to achieve that asynchronous validation.
|
Beta Was this translation helpful? Give feedback.
-
Whats error you encountering? |
Beta Was this translation helpful? Give feedback.
-
I have the same issue, I have a resolver that checks that a slug is not already registered in the database, and even though I have |
Beta Was this translation helpful? Give feedback.
sorry, I posted in discord, and solved it.
https://discord.com/channels/754891658327359538/1192154056353914901/1192154056353914901
It seems that lodash.debounce doesn't play nice with promises, but switching to
awesome-debounce-promise
solved it.