hof-behaviour-address-lookup
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -8,2 +8,5 @@ /* eslint max-len: 0, no-process-env: 0 */ | ||
CHANGE: 'Change', | ||
POSTCODE_LABEL: 'Postcode', | ||
SELECT_LABEL: 'Select the address', | ||
ADDRESS_LABEL: 'Address', | ||
POSTCODE_ENTERED: 'Postcode you entered: ', | ||
@@ -10,0 +13,0 @@ POSTCODE_ERROR: { |
@@ -20,3 +20,3 @@ 'use strict'; | ||
[`${key}-postcode`]: { | ||
label: conditionalTranslate(`fields.${key}-postcode.label`, t) || 'Postcode', | ||
label: conditionalTranslate(`fields.${key}-postcode.label`, t) || defaults.POSTCODE_LABEL, | ||
mixin: 'input-text-code', | ||
@@ -27,2 +27,3 @@ validate: ['required', 'postcode'], | ||
[`${key}-select`]: { | ||
label: conditionalTranslate(`fields.${key}-select.label`, t) || defaults.SELECT_LABEL, | ||
mixin: 'select', | ||
@@ -34,2 +35,3 @@ validate: [function required(val) { | ||
[key]: { | ||
label: conditionalTranslate(`fields.${key}.label`, t) || defaults.ADDRESS_LABEL, | ||
mixin: 'textarea', | ||
@@ -36,0 +38,0 @@ validate: 'required', |
{ | ||
"name": "hof-behaviour-address-lookup", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "A HOF Behaviour for a multi-step postcode lookup", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23856
481