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
Rakesh RRakesh R 

Hi Professional, how to get dependent picklist value in to lightning component.

 i have a custom picklist field documentType__c(documents name are - BirthCertificate, passport, CAE, NDI) , it is controlling by another picklist field named is ProgramType__c(program name are - US, India,UK , UAE). 
How to get documentType field value based on the particular ProgramType .

ThanksaUser-added image
Thanks in Advanced.
MagulanDuraipandianMagulanDuraipandian
Use <lightning:recordEditForm> and <lightning:inputField>. It respects the field dependencies.

--
Magulan Duraipandian
www.infallibletechie.com