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

Block is removed from content area if you have validation errors on IList properties #20

Open
simenepinova opened this issue Oct 12, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@simenepinova
Copy link

When we attempt to save a new a block directly from a content area and validation inside the block triggers and fails we get a popup message alerting of the validation errors. When we close the validation popup the block is deleted and all items added are lost.

In our case we have an image carousel block with a custom validation attribute on an IList property to ensure atleast x images are added. When we close the validation message popu-up the block is deleted along with all the items added prior to validation failed. We get the same behaviour with other blocks that has validation on IList properties.

@barteksekula barteksekula added bug Something isn't working and removed triage labels Jun 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants