Replies: 1 comment 2 replies
-
currently we only support this feature with JS, not with TS, it does create type issue with validation function you will have to combine with JSX and error message |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I see based on the generated Types that error messages from a
pattern
object or the return message from avalidate
function for example can only be strings. Would it be possible for an error message to be aReact.ReactNode
instead of just astring
?It would be helpful to be able to have an error message that also contains a link to documentation as one of the use cases, or be able to emphasize a word or phrase.
Beta Was this translation helpful? Give feedback.
All reactions