I'm trying to figure out how regionUpdater is working onregionUpdater works in Magento 2. Region UpdaterRegion Updater is that when you select a country, magento reload regionMagento reloads the region field dependdepending on which country was selected.
I went to magento checkoutMagento's Checkout module then saw regionUpdater jsregionUpdater Javascript file in this path:
\vendor\magento\module-checkout\view\frontend\web\js\region-updater.js
Then I gowent to my browser then tryand tried to put some breakpoints to it but I cannot see regionUpdater.jsregionUpdater.js
is included. I tried many wayways to figure out how it is working but cannot understand it.
My purpose is I'm going to implement cityUpdatera **cityUpdater function that help magentoMagento reload the city field based on the region field - the same way as regionUpdater.
Can any help me figure out it ?. I really appreciate your helpregionUpdater.