You need to sign in to do that
Don't have an account?
Sid Lightning
Lookup icon for Lightning input field in lightning component ?
Hi,
I need to get the lookup icon in Lightning input field. Can anyone please help .
Currently , I am getting a free text area . I have to lookup to user object
I need to get the lookup icon in Lightning input field. Can anyone please help .
Currently , I am getting a free text area . I have to lookup to user object
Hope below code will help you.
Regards,
Harsh p.
Greetings to you!
It seems like this is a bug but it is not listed in known issues as of now. There are other known issues as well related to lightning:inputfield lookup.
https://success.salesforce.com/issues_view?id=a1p3A000000mD5NQAU&title=icon-overlaps-with-text-in-lightning-inputfield-component
https://success.salesforce.com/issues_view?id=a1p3A000000mDV2QAM
Please refer to the below links which might help you further.
https://salesforce.stackexchange.com/questions/235744/lightninginputfield-lookup-icon-missing
https://salesforce.stackexchange.com/questions/207479/anyone-got-a-lightninginputfield-working-for-a-lookup
I hope it helps you.
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.
Thanks and Regards,
Khan Anas
Please try the below code and let me know if this works for you. If still need modifications do let me know.
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi