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.
Views
Replies
Total Likes
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
Views
Replies
Total Likes
For additional info :
ttps://sourcedcode.com/blog/aem/aem-granite-ui-multifield-maximum-items-validation
Thanks
Views
Replies
Total Likes
@ZendarkAlso check if your validator is working properly. A well example of such validator is https://aemhints.com/2020/10/24/limit-multifield-aem65/
Views
Replies
Total Likes
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
Views
Replies
Total Likes
Views
Likes
Replies