File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
app/code/Magento/Checkout/view/frontend/web/js/model Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,8 @@ define([
84
84
$ . each ( elements , function ( index , field ) {
85
85
uiRegistry . async ( formPath + '.' + field ) ( self . doElementBinding . bind ( self ) ) ;
86
86
} ) ;
87
+ let regionId = uiRegistry . async ( formPath + '.region_id' ) ;
88
+ this . bindHandler ( regionId ( ) , self . validateDelay ) ;
87
89
} ,
88
90
89
91
/**
@@ -199,7 +201,7 @@ define([
199
201
address ;
200
202
201
203
if ( this . validateAddressData ( addressFlat ) ) {
202
- addressFlat = uiRegistry . get ( 'checkoutProvider' ) . shippingAddress ;
204
+ addressFlat = uiRegistry . get ( 'checkoutProvider' ) . shippingAddress ; // this is how the triggering is performed. Need to trigger this when selecting region
203
205
address = addressConverter . formAddressDataToQuoteAddress ( addressFlat ) ;
204
206
selectShippingAddress ( address ) ;
205
207
} else {
You can’t perform that action at this time.
0 commit comments