You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even if the editor is empty, still passes and lets me publish.
Additionally, on a blank page (without having writting anything inside the editor): If I reload, Payload warns me that content is gonna be lost. That's very likely also why it passes the "required: true" with nothing in the editor
The text was updated successfully, but these errors were encountered:
johannesschaffer
changed the title
required: true doesn't seem to work
required: true doesn't seem to work & cms thinks content has changed
Apr 5, 2023
Still doesn't quite work. As far as I can tell the "required" works now (however without showing where the error happend - you probably missed the error popup in your custom field), but a blank editor field added to a collection still makes payload think there is unsaved content (for comparison, adding an empty "text" field works like intended)
Even if the editor is empty, still passes and lets me publish.
Additionally, on a blank page (without having writting anything inside the editor): If I reload, Payload warns me that content is gonna be lost. That's very likely also why it passes the "required: true" with nothing in the editor
The text was updated successfully, but these errors were encountered: