Skip to main content
Swathi V (NA) preguntó en #Apex
Hi all,

I have an custom object named country with two picklist fields country and states.  Country is the controlling field for States.  Now I want to display these two picklist in the lightning page with the controlling and dependent picklist behavior.  Kindly let me know how I can achieve this.

Thanks in advance

Regards

V Swathi
4 respuestas
  1. 11 jun 2018, 17:20
    I works with    lightning:recordEditForm

    For example:

               <lightning:recordEditForm recordId=""

                                              objectApiName="Case">

                         <lightning:inputField fieldName="Subject" />

                        <lightning:inputField fieldName="Type" />

                        <lightning:inputField fieldName="Case_Sub_Type__c" />

                       

                     </lightning:recordEditForm>

     
0/9000