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
saurabhkher19saurabhkher19 

Avoid multiple selection on Lightning List View component

I have a requirement to create a case from account list view component when user select the particular record. I have created a lightning component to create new case and passing values of current selected record to populate on case component field. I have created button as well to redirect to new component. It is working fine when we select one record at a time. I want to show some error message when user select more than one record and click on create case button.
AbhishekAbhishek (Salesforce Developers) 
Hi,

Go through the below blog,

https://sfdcmonkey.com/2018/02/20/multi-select-lookup-salesforce-lightning/

Which might answer your query.

Thanks.