project-booster-vue 10.0.1 → 10.1.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "project-booster-vue",
3
- "version": "10.0.1",
3
+ "version": "10.1.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -305,6 +305,12 @@ export default defineComponent({
305
305
  props.payload.viewModel.defaultValue?.zipcode?.path,
306
306
  ) || null;
307
307
 
308
+ const city =
309
+ getAnswerValue(
310
+ props.payload.viewModel.defaultValue?.city?.answerCode,
311
+ props.payload.viewModel.defaultValue?.city?.path,
312
+ ) || null;
313
+
308
314
  const convertToTypeOf = (typedVar: string, input: any): string | number | null => {
309
315
  if (!input) {
310
316
  return null;
@@ -338,7 +344,7 @@ export default defineComponent({
338
344
  address: '',
339
345
  additionalAddress: '',
340
346
  zipcode: zipcode,
341
- city: '',
347
+ city: city,
342
348
  email: '',
343
349
  phone: '',
344
350
  optin: false,
@@ -7,6 +7,10 @@
7
7
  "zipcode": {
8
8
  "answerCode": "LMFR_PREVIOUS_QUESTION",
9
9
  "path": "value"
10
+ },
11
+ "city": {
12
+ "answerCode": "LMFR_PREVIOUS_QUESTION",
13
+ "path": "value"
10
14
  }
11
15
  },
12
16
  "metadata": [