You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, First of all, thanks a lot for this great component.
The issue I'm facing is when I try to set a default value on the Lookup when we load this, It loads the Id I give but the name is blank.
Can you please let me know where I'm going wrong.
The true above is coming because I set the parameter selectedName="true" if this is not set then I get blank value there.
Below is my code.
<c:lookupField
objectAPIName="Case"
label="Related To"
returnFields="['CaseNumber','Id']"
queryFields="['CaseNumber']"
selectedId="{!v.newTask.WhatId}" showAddNew="false"
showIcon="false"
selectedName="true"
/>
v.newTask.WhatId this value is set in the js controller.
Thanks a lot in advance for all the help.
Cheers,
Sri.
The text was updated successfully, but these errors were encountered:
Hey, First of all, thanks a lot for this great component.
The issue I'm facing is when I try to set a default value on the Lookup when we load this, It loads the Id I give but the name is blank.
Can you please let me know where I'm going wrong.
The true above is coming because I set the parameter selectedName="true" if this is not set then I get blank value there.
Below is my code.
<c:lookupField
objectAPIName="Case"
label="Related To"
returnFields="['CaseNumber','Id']"
queryFields="['CaseNumber']"
selectedId="{!v.newTask.WhatId}" showAddNew="false"
showIcon="false"
selectedName="true"
/>
v.newTask.WhatId this value is set in the js controller.
Thanks a lot in advance for all the help.
Cheers,
Sri.
The text was updated successfully, but these errors were encountered: