function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Venkatesh LVenkatesh L 

How to Create a custom component whose behaviour should be in the form of autocomplete. For example, if I enter A in the field it should display names starting with A.

SFDC Coder 1SFDC Coder 1
Hi Venkatesh,

You can use a component like ui:inputText and you can use keyup handler. Then, fire an event in the handler (js file) with the search string. You can listen for and handle this event accordingly.
Below is the tutorial that walks through the setup process.
Hope this will help you.

P.S. Mark it as Best Answer if it helps you..