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
Thiago Barbosa 1Thiago Barbosa 1 

Opportunity Owner in lightning

How to create Opportunity Owner in lightning?(Apex and cmp(controller, helper) User-added image
Zhen Yueh LeanZhen Yueh Lean
Hi Thiago, are you looking to have your lookup to like this https://www.lightningdesignsystem.com/components/lookups/ ? If yes, then you could use the code template in the page to mockup the lookup field.

Alternatively, you can choose to embed the field in lightning:recordEditForm component. This will help to render the field in lightning experience properly.