How to remove auto complete widget input suggestion

I am using auto complete widget here... Need to remove this suggestion "Type or double-click for list" 

The AutoComplete Input has a placeholder text associated to it - "type or DoubleClick for list"
how Do I change it. Updating the prompt doesn't seem to be helping either. 
Any suggestions?? 

mvp_badge
MVP
Solution

Hi Amrata,

I think the simplest way is to set the AutoComplete input widget's placeholder attribute with a space string value. 

Note: If you set the input widget's placeholder attribute value to empty string then it will get overridden with the default prompt value  i.e. "Type or double-click for list" 

JS approach

document.getElementById('ElementId').setAttribute('placeholder', '');


I hope this helps you!


Kind regards,

Benjith Sam

Thank you 

Benjith Sam


mvp_badge
MVP

You're welcome, Amrata.

Glad to help you :)


Kind regards,

Benjith Sam

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.