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
Major1507Major1507 

Search based on field selection, operator selection and providing values in Salesforce Lightning

User-added image
This is my lightning component where I'm selecting a field from contact and selecting an operator based on the data type of the field and finally providing a value.

I need to search records in contact object based on these selected criteria.

Thank you
MagulanDuraipandianMagulanDuraipandian
Hi,
Check the below example

http://www.infallibletechie.com/2018/02/forcenavigatetourl-example-in.html

You have to pass field name, operator and value to the apex class and return the list and display in the component.