I have the functionality to create an LWC form with billing address fields(Billing address is a compound field). But when I create the form I can see the Billing country & state picklist fields but field dependency isn't applying for those. For example, If the country is the US it should only show US states.
Any help would be appreciated
7 respuestas
Hi @Bhargava Divya for this you can write a filter logic in server side or in client side for server side just query the billingCountry and filter it by the key and after that you can use imperative approach or wire method to call the apex and filter by the searchkey and for the client side you have to use the filter method by Javascript.