+ Start a Discussion
niki s 7niki s 7 

Dependent picklist in lwc

I have requirement in lwc we have 2 field country and state based on country should show the state value.
and country should have only two records india nd uk 
How to achieve this using lwc
Suraj Tripathi 47Suraj Tripathi 47
Hi Niki,
Please refer to below link for creating a dependent picklist in lwc-

https://salesforcediaries.com/2021/04/24/real-time-custom-dependent-picklist-from-record-field-values-in-lwc/

Let me know if you have any confusion regarding the reference provided.

Please mark it as the best answer, if it helps in any way.
Thanks.