Skip to main content
Jeffrey Cheung 님이 #Lightning Experience에 질문했습니다
A Negotiation object looks up to an Opportunity. The Opportunity Id is in the event but it is gone in the trigger, hence the required field missing error.

lightning:inputField is not working with lookup field
답변 2개
  1. 2018년 5월 29일 오전 1:34

    This is a bug in lightning:inputField with Master-Detail relationship. The same error has been rasied 3 months ago already: https://salesforce.stackexchange.com/questions/207479/anyone-got-a-lightninginputfield-working-for-a-lookup/207935

    Sadly Salesforce doesn't care about this bug so it is not fixed.

    The only solution is:

    1. Check "Allow reparenting" checkbox for the Master-Detail field on the child object

    2. Change the relationship to a lookup