Hi all,
I am using aem 6.4 in my touch ui component having one multifield tab inside that having one path field i marked as mandatory by using the property required Boolean true in this mandatory field is still red even though the field has value.
Expected is once the value is selected means that time that mandatory field highlighting red color should be disappear.
Give me some solution to resolve this issue.
I attached some screenshot of my component below
Solved! Go to Solution.
Views
Replies
Total Likes
You should not add custom code to solve this problem, but see what the actual problem is, and possibly fix the problem by restarting your AEM, or upgrade your local AEM service-pack to the latest version.
By the way, your configuration to the Touch UI field looks alright, but allowBlank is not really a configuration for the path field. Take a look at all the available configurations you can utilise with the official Granite UI 1.0 documentation > PathField — Granite UI 1.0 documentation (adobe.com)
I know it can be challenging to decipher the documentation to XML configuration, take a look a this blog article to learn with ease -> How to Convert Adobe’s Granite UI 1.0 Documentation to XML - Sourced Code
Hi @Nandheswara ,
"allowBlank" is not pathfield property, please remove it and just keep the "required" property and check.
if it doesn't work, please copy a pathfield from core components, to avoid wasting time in debugging this.
Regards,
Sravan
@Nandheswara can you try this in incognito, maybe there is a conflict with your Browser's extensions?
Have you tried moving focus in the other input field or submitting dialog?
Can you also check if there are any console error when you empty the field and filled again?
Yes I tried to move the focus on others fields also still red highlight showing but when i enter some values in other fields means that highlight will gone and even in console also no errors
You should not add custom code to solve this problem, but see what the actual problem is, and possibly fix the problem by restarting your AEM, or upgrade your local AEM service-pack to the latest version.
By the way, your configuration to the Touch UI field looks alright, but allowBlank is not really a configuration for the path field. Take a look at all the available configurations you can utilise with the official Granite UI 1.0 documentation > PathField — Granite UI 1.0 documentation (adobe.com)
I know it can be challenging to decipher the documentation to XML configuration, take a look a this blog article to learn with ease -> How to Convert Adobe’s Granite UI 1.0 Documentation to XML - Sourced Code
Views
Likes
Replies
Views
Likes
Replies