You need to sign in to do that
Don't have an account?
Aravind R 11
Lightning input text field with dynamic multiple suggestions as soon as user starts typing
Hi All,
I have a requirement where there should be a input text field and as soon as user starts typing, request should go to thirt party api to get address suggestions and should come as drop down under that text box. Once user selects any one of them, it should autopopulate several fields(Like chrome address autofilling).
Since I am new to lightning components, can you please provide me an approach to acheive this? Anticipating your help.
Thanks
I have a requirement where there should be a input text field and as soon as user starts typing, request should go to thirt party api to get address suggestions and should come as drop down under that text box. Once user selects any one of them, it should autopopulate several fields(Like chrome address autofilling).
Since I am new to lightning components, can you please provide me an approach to acheive this? Anticipating your help.
Thanks
For The Above requirement, you should need to use "Schema Class" Check the below document which salesforce has provided in apex developer guide.
- https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_methods_system_schema.htm
- Please check the below code we should use predefined methods which are provided in schema class and also check the code to retrieve object through SOQL Queries.
VisualForce Page:ApexClass:
I hope it will be helpful.
BestRegards
RahulKumar