13
Views
3
Comments
Possible to override the Double click to show all values feature of AutoComplete?
Application Type
Traditional Web

Is it possible to override the "Double-click to view all values" feature of AutoComplete RichWidget? The values should appear only when the users type in something.

Thank You!

Rank: #292

Hi Laxman,

You can try to use following forge component, it has the capability to enable/disable double click to show all records.

https://www.outsystems.com/forge/component-overview/5379/betterautocomplete


Hope it helps, Thanks

Rank: #68

Hi Laxman,

You can customize the AutoComplete javascript (making a clone of the RichWidgets) or use a forge component.

This component is an improvement to the platform's AutoComplete and has the option to disable double click.

https://www.outsystems.com/forge/component-overview/5379/betterautocomplete


Rank: #292

Hi Laxman,

You can also use the following javascript to disable double click of autocomplete input.

Just place following script in your Webscreen Javascript properties as shown in screenshot

document.addEventListener( 'dblclick', function(event) {  
    event.preventDefault();  
    event.stopPropagation(); 
  },  true 
);

Hope it works, Thanks :)