Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMS thinks content has changed #21

Open
johannesschaffer opened this issue Apr 7, 2023 · 2 comments
Open

CMS thinks content has changed #21

johannesschaffer opened this issue Apr 7, 2023 · 2 comments

Comments

@johannesschaffer
Copy link

Setting validation "required" works since 0.1.2 (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)

Originally posted by @johannesschaffer in #14 (comment)

@AlessioGr
Copy link
Owner

Arc 2023-04-08 at 00 53 39@2x

The error popup is there actually - just at the completely wrong position. Whoops! Will fix!

@AlessioGr
Copy link
Owner

AlessioGr commented Apr 7, 2023

Setting validation "required" works since 0.1.2 (however without showing where the error happend - you probably misses the error popup in your custom field)

Just fixed the error popup in v0.1.5. In fact, it looks even better than the default Slate editor now, which completely missed the red overlay ^^

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)

I cannot quite reproduce / understand that. Could you maybe elaborate on it and add screenshots? If I have an empty editor on my page and try to leave the page, I'm getting no warning pop-up before exiting the page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants