Autocomplete on AEM dialog text boxes | Community
Skip to main content
New Participant
October 16, 2015
Solved

Autocomplete on AEM dialog text boxes

  • October 16, 2015
  • 1 reply
  • 1987 views

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>
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sham_HC

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. 

1 reply

Sham_HC
Sham_HCAccepted solution
New Participant
October 16, 2015

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.