I'm using AEM 6.5.11 and have a CFM with a non-required multi-line field that allows plain text. I have not set any custom validation rules for this field. When I create a CF based on it and input something into the field, focus out, then delete all that I just input, and focus out again, an error message saying "Error: Please fill out this field" is displayed. I am unable to save the CF because of this error message.
Is this a default behavior of AEM or are there some settings that could be causing this problem?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @wei_lyu,
I've checked that on clear AEM 6.5.11 - AEM 6.5.15, and I can confirm that this is AEM issue. It has been fixed in AEM 6.5.15. So to fix it, you will have to upgrade to SP15, alternatively you can contact Adobe, raising Adobe Support Ticket and ask to get back-ported fix for your version of AEM.
Multi line text component is represented by /libs/dam/cfm/admin/components/authoring/contenteditor/multieditor/cfeditor/js/multieditorfield.js, unfortunately it is part of granite:InternalArea, so you cannot apply the fix by yourself using overlay.
Below I presented detailed chnages between AEM 6.5.11-14 and AEM 6.5.15, where the issue is not present any more.
As you can see the only difference is that selector .multifield-multiEditor[aria-required=\"true\" has been added in SP15 and that solves the issue.
Views
Replies
Total Likes
Can you share the screen shots of CF Model with this multi line field in focus so that we can see its properties and rules at schema level.
Views
Replies
Total Likes
Views
Replies
Total Likes
Hi @wei_lyu,
I've checked that on clear AEM 6.5.11 - AEM 6.5.15, and I can confirm that this is AEM issue. It has been fixed in AEM 6.5.15. So to fix it, you will have to upgrade to SP15, alternatively you can contact Adobe, raising Adobe Support Ticket and ask to get back-ported fix for your version of AEM.
Multi line text component is represented by /libs/dam/cfm/admin/components/authoring/contenteditor/multieditor/cfeditor/js/multieditorfield.js, unfortunately it is part of granite:InternalArea, so you cannot apply the fix by yourself using overlay.
Below I presented detailed chnages between AEM 6.5.11-14 and AEM 6.5.15, where the issue is not present any more.
As you can see the only difference is that selector .multifield-multiEditor[aria-required=\"true\" has been added in SP15 and that solves the issue.
Views
Replies
Total Likes
Thank you for the detailed information about the issue. I will bring this to the attention of our devops team and see if we can upgrade to AEM or request a back-ported fix from Adobe. I appreciate your help in troubleshooting this issue. Have a great day.
Views
Replies
Total Likes