Last active
February 13, 2024 04:58
-
-
Save MrGrootx/4a4d0db1b5b9d5ec81739513bf4d4b0f to your computer and use it in GitHub Desktop.
react-hook-form ( checkbox input ) with custom message
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| checkbox : z.boolean().refine((v) => v === true, { | |
| message: "checkbox message here", | |
| }), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment