Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

Autocomplete on AEM dialog text boxes

Avatar

Level 2

Hi guys,

Is someone knows if it is possible to turn on browser autocomplete on text fields in component's dialog? Looks like extjs set autocomplete="off" on every input tag, so I added listener on textfield which sets autocomplete on, but it is not working

Field with listener looks like:

<title jcr:primaryType="cq:Widget" fieldLabel="Title" name="./title" allowBlank="{Boolean}false" xtype="textfield" > <listeners jcr:primaryType="nt:unstructured" afterrender ="function(cmp){ cmp.getEl().set({autocomplete : 'on'}); }"/> </title>
1 Accepted Solution

Avatar

Correct answer by
Level 10

You can do with typeahead and extjs data store. Look at out the box examples of predicative auto suggest text box OR tag input field as an example. 

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

You can do with typeahead and extjs data store. Look at out the box examples of predicative auto suggest text box OR tag input field as an example.