On the checkout flow in the address page, a customer enters the text value for the CITY field. However, you can add the cities manually as per the states. This will enable the functionality in which once a state is selected then only the selected cities are listed in the dropdown.
Shipping Address Form:
Follow the steps mentioned below:
Before Selecting State:
After Selecting State:
You might want to add cities from more states. To do so, follow the steps given below:
In this way, you can add multiple cities from different states. So, when any state will be selected, cities added to that state will be available for selection in the dropdown.