Skip to content

[HELP] triggering invalid state manually on input tags to display errors (with server-side valid & useActionState) #3480

Answered by saadeghi
BakirGracic asked this question in Q&A
Discussion options

You must be logged in to vote

Probably you can get an answer faster in a Next.js community.
daisyUI just sets color based on native HTML validation.

You're apparently using setCustomValidity already 👍 so if the React part works correctly, that should work as well.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by BakirGracic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants