• Phuc Huynh
  • NEWBIE
  • 5 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
I am working on a lightning component where I want to show picklist field using as follows. `
<aura:component > 
    <aura:attribute name="conObj" type="Contact" default="sobjectType:'Contact'}"/> 
​    <force:inputField value="{!v.conObj.Salutation}" aura:id="pic"/> 
</aura:component>`
The above code works fine in my developer org but not working on sandbox. When I try to run this by adding in an app throws some exception. Although same component works in same sandbox if I replace inputField with outputField.

Is there any solution for this ?