Skip to content

Commit 05ab15e

Browse files
authored
[BUGFIX] removed region_id set, expects an int not a string.
Removed region_id set because it is not a required field for NL adresses and Magento expects an int not a string.
1 parent 38f97e7 commit 05ab15e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

view/frontend/web/js/view/form/postcode.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,6 @@ define([
412412
self.debug('address on single line');
413413
}
414414
registry.get(self.parentName + '.country_id').set('value', 'NL').set('error', false);
415-
registry.get(self.parentName + '.region_id').set('value', response.province).set('error', false);
416415
registry.get(self.parentName + '.city').set('value', response.city).set('error', false);
417416
registry.get(self.parentName + '.postcode').set('value', response.postcode).set('error', false);
418417

0 commit comments

Comments
 (0)