@bcrs-shared-components/base-address 2.1.1 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BaseAddress.vue +2 -1
- package/package.json +2 -2
package/BaseAddress.vue
CHANGED
|
@@ -429,10 +429,11 @@ export default class BaseAddress extends Mixins(ValidationMixin, CountriesProvin
|
|
|
429
429
|
|
|
430
430
|
/** Watches for changes to the address form validity and emits the updated state. */
|
|
431
431
|
@Watch('addressFormValid')
|
|
432
|
+
@Watch('postalCodeRulesEnabled')
|
|
432
433
|
@Emit('valid')
|
|
433
434
|
onAddressFormValidChanged (): boolean {
|
|
434
435
|
// form is valid only if postal code rules are enabled
|
|
435
|
-
return (
|
|
436
|
+
return (this.addressFormValid && this.postalCodeRulesEnabled)
|
|
436
437
|
}
|
|
437
438
|
|
|
438
439
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bcrs-shared-components/base-address",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
"vue-property-decorator": "^9.1.2",
|
|
15
15
|
"vuelidate-property-decorators": "1.0.28"
|
|
16
16
|
},
|
|
17
|
-
"gitHead": "
|
|
17
|
+
"gitHead": "20ef4e10a0c5660986240ccdef7bbf134a844250"
|
|
18
18
|
}
|