I have followed the below-mentioned URL and worked on the custom validation on metadata schema. Once the error is shown, the metadata is getting saved even there is an error. Can someone please suggest if there is something missing?
Note: I have worked on the "Applying validations to form fields" section.
I tried in my local - AEM 6.5.0 and it works fine.
Could you please let know
I also tried the same in 6.5.10 and it works as explained for a required field. For a non-required field, the error message near the respective field is coming but still I am able to save the properties. Is there any way to prevent this?