@bcrs-shared-components/base-address 2.1.1 → 2.1.4

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.
Files changed (2) hide show
  1. package/BaseAddress.vue +2 -1
  2. package/package.json +3 -3
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 (!this.$v.$invalid && this.postalCodeRulesEnabled)
436
+ return (this.addressFormValid && this.postalCodeRulesEnabled)
436
437
  }
437
438
 
438
439
  /**
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@bcrs-shared-components/base-address",
3
- "version": "2.1.1",
3
+ "version": "2.1.4",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
7
  "dependencies": {
8
- "@bcrs-shared-components/mixins": "^1.2.2",
8
+ "@bcrs-shared-components/mixins": "^1.2.4",
9
9
  "lodash.uniqueid": "^4.0.1",
10
10
  "vue": "^2.7.14",
11
11
  "vuelidate": "0.6.2"
@@ -14,5 +14,5 @@
14
14
  "vue-property-decorator": "^9.1.2",
15
15
  "vuelidate-property-decorators": "1.0.28"
16
16
  },
17
- "gitHead": "6dee853503a42a97d46845ce1e09632407d1c3d4"
17
+ "gitHead": "6c26a10fa7eaaca56677221c469f85126493d956"
18
18
  }