#Making a RichEditor field required
7 messages · Page 1 of 1 (latest)
It’s a Tiptap thing. It always has to have at least one element which is the default empty p tag. Might be a good pr for a custom required validation or check in the dehydrate state to see if it is empty.
For now though you could do a custom required rule.
V3 didn’t use tiptap so wasn’t an issue there.
Swear I tried to search, but thanks! I’ll try to do a pr or at least raise an issue for it. Should be fixed or else mentioned in docs.
I think that’s reasonable.
Thank you for marking this question as solved!
Learn more