Problem in pathfield in AEM 6.5

samsundar23

19-08-2020

I'm experiencing a problem in pathfield in AEM 6.5

 

I'm authoring an external link(http://www.google.com) in the pathfield and an auto-suggestion is coming up. When I moved to the previous field the cursor automatically jumps to pathfield again. This is causing a bit of inconsistency for the authors where most of the pathfields are authored with external link. Is there any way to control the auto suggestion in pathfield.(Refer screenshot 1a) - pathfield behavior 
(Or)

Shall I modify the resourceType to pathbrowser instead which doesn't have any auto-suggestion just like pathfield and there is no case of cursor jumping out problem. I want a concrete point to recommend pathbrowser over pathfield to the customer. Please suggest any way.
(Refer screenshot 1b) - pathbrowser behavior

Screenshot 1a:

samsundar23_0-1597843725888.jpeg

 

Screenshot 1b

samsundar23_1-1597843830605.jpeg

 

Thanks !

AEM 6.5 pathbrowser against pathfield for external links pathfield problem

Accepted Solutions (1)

Accepted Solutions (1)

Vijayalakshmi_S

MVP

19-08-2020

Hi @samsundar23,

Pathfield supports suggestions as we type and is intended per the original functionality. It also supports multiple selections. 

Detailed inputs on the purpose is mentioned in - https://helpx.adobe.com/experience-manager/6-5/sites/developing/using/reference-materials/granite-ui...

Pathbrowser might suit this particular use case of not bringing up suggestion. But it is deprecated and it is recommended to use Pathfield - This is per AEM 6.5.0

pathfield.png

Answers (1)

Answers (1)

samsundar23

21-08-2020

Thanks @Vijayalakshmi_S 

 

To turn off suggestion, below highlighted in green - <coral-overlay> within <foundation-autocomplete> is responsible for the rendering of suggestion. 

You can create a new resource similar to OOB pathfield and comment this line -> Use the newly created resource to dialog field for authoring External Link.

pathfield_render_jsp.JPG