I have created a validator for number of slides in carousel , however the error message is not visible in dialog.
As for the code i am using selector on coral-multifield and returning error message if multifield items lesser than prescribed minimum.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @Zendark
To get better help, can you share your dialog xml (anonymized of course, if contains any confidential info) ? Maybe you need to add the multifield in a container first. Also worth posting how does your.js validator looks like.
Hi @Zendark
Seems the error message is not visible in the view port. Try checking in the dialog maximized view.
Try to override the dialog width and check if it solves
Hope this helps !
Thanks
For additional info :
ttps://sourcedcode.com/blog/aem/aem-granite-ui-multifield-maximum-items-validation
Thanks
@ZendarkAlso check if your validator is working properly. A well example of such validator is https://aemhints.com/2020/10/24/limit-multifield-aem65/
I have used the same code logic as the given code , validator is working fine it is just an issue with the error message being hidden
@Zendark Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!
Views
Replies
Total Likes