You need to sign in to do that
Don't have an account?
Lookup field components
Hi,
Are there UI components that handle lookup field selection, for example lookup from my custom object to an account? From experience this takes a lot of effort to implement and would seem like a very common use case. Maybe there is an open source version?
Thanks
Are there UI components that handle lookup field selection, for example lookup from my custom object to an account? From experience this takes a lot of effort to implement and would seem like a very common use case. Maybe there is an open source version?
Thanks
http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_inputField.htm
at the moment there is no standard component that does it and you have to code it your way...I believe that there will be some sort of "lightning" lokkup component in th enear future.
I have developed a lookup component in form of typeahead input (but unfortunately I cannot share the code :( ).
Did you got the solution for lookup field.
Try this component provided by Enrico Murru, You will need to do some customization based on your requirement.
Even I am also applying this now. Feeling some complication to get the Id of the selected record.
https://developer.salesforce.com/blogs/developer-relations/2015/06/salesforce-lightning-inputlookup-missing-component.html
Let me know if you get your solution by this to guide me too.
Thanks,
Amit Goyal
Recent salesforce updated it's static resource loading process ...I simply did few modification to avoid require component .
I am loading static resources as below :
I removed requireJs dependecies in createTypeaheadComponent function and it's working..:-)