From df97db71002f74147d517a89382a4c13e2d5d7e4 Mon Sep 17 00:00:00 2001 From: Bryan Mauger Date: Wed, 17 May 2023 10:13:07 -0400 Subject: [PATCH] WIP add first and last name textboxes. --- .../customer-details/customer-details.vue | 49 +++++++++++++++++-- 1 file changed, 45 insertions(+), 4 deletions(-) diff --git a/src/layouts/customer-details/customer-details.vue b/src/layouts/customer-details/customer-details.vue index c1e8c0031..3923081dd 100644 --- a/src/layouts/customer-details/customer-details.vue +++ b/src/layouts/customer-details/customer-details.vue @@ -3,12 +3,20 @@
- + validationRules="first-name-required" /> + + ({ + customerQuestions: { + addressQuestions: { + streetAddress: "", + city: "", + state: "", + zipCode: "", + }, + firstName: "", + lastName: "", + emailAddress: "", + }, + }), + }, + validationRules: String, + }, computed: { textAreaLabelCopy() { return this.getCmsContent("TextAreaContentWidget", "QuestionText"); }, + customerModel: { + get: function () { + return this.modelValue; + }, + set: function (newValue) { + this.$emit("update:modelValue", newValue); + }, + }, }, components: { funnelHeader, @@ -119,6 +159,7 @@ export default { textboxQuestion, funnelFooter, Form, + textBlock, }, };