© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•7mo ago•
7 replies
Tim van Heugten

Making a RichEditor field required

How do you guys do this? If I add required() it doesn’t work, I guess because it always has a “<p></p>” value? Is this is a TipTap problem or was this already the case in v3?

Weird no else seems to have this issue.
Solution
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.
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Making an empty RichEditor field save as null
FilamentFFilament / ❓┊help
5mo ago
Required field
FilamentFFilament / ❓┊help
2y ago
Styling elements inside RichEditor field?
FilamentFFilament / ❓┊help
4w ago
Remove caption image RichEditor field
FilamentFFilament / ❓┊help
3y ago