Skip to main content
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 answers
  1. Jun 11, 2018, 5:20 PM
    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