How to work with dynamic dropdown?
I have four table countries, states, districts, upozillas. If I select a country state option need to be updated, the if I select a state then district need to be updated and go on.
I found a way in customer panel's address section. But I want to do it on my own package & in multiple options.
You can create a component for it, each value will be updated according to value selected.
This article will be help you - https://www.pluralsight.com/guides/react-communicating-between-components