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
Ian Lin 20Ian Lin 20 

search bar component

Deepali KulshresthaDeepali Kulshrestha
Hi Ian,

SearchBar component that allows the user to search contacts by name. You could add the search bar to the ContactList component.
In this link, we are using Create custom Lightning Events and Communicate between components using events.

I suggest to visit this, it will help you

https://ccoenraets.github.io/salesforce-lightning-tutorial/create-searchbar-component.html

The trailhead for this:-

https://trailhead.salesforce.com/en/content/learn/projects/communities_theme_layout/custom_search

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks and Regards,
Deepali Kulshrestha.