From 1ac865171976417e27cba89a0ed1f126f6422666 Mon Sep 17 00:00:00 2001 From: Scott Kiener Date: Mon, 29 Aug 2022 09:34:29 -0400 Subject: [PATCH 1/2] CSR-735 | Update list-button-horizontal to accept strings --- .../cash-or-insurance-question.vue | 2 +- .../list-button-horizontal.vue | 27 ++++++++++++++----- 2 files changed, 22 insertions(+), 7 deletions(-) diff --git a/src/layouts/quote/cash-or-insurance-question/cash-or-insurance-question.vue b/src/layouts/quote/cash-or-insurance-question/cash-or-insurance-question.vue index 4c9cfc0fc..3c3ab112a 100644 --- a/src/layouts/quote/cash-or-insurance-question/cash-or-insurance-question.vue +++ b/src/layouts/quote/cash-or-insurance-question/cash-or-insurance-question.vue @@ -30,7 +30,7 @@ export default ({ // Convert to CMS answer name from bool var cmsAnswerValue = this.modelValue ? "InsuranceAnswer" : "CashAnswer"; // list-button-horizontal expects an array of values - return [cmsAnswerValue]; + return cmsAnswerValue; }, set: function(newValue) { // Convert back to bool for parent component diff --git a/src/ux-components/list-button-horizontal/list-button-horizontal.vue b/src/ux-components/list-button-horizontal/list-button-horizontal.vue index aa645ebea..ac74761d0 100644 --- a/src/ux-components/list-button-horizontal/list-button-horizontal.vue +++ b/src/ux-components/list-button-horizontal/list-button-horizontal.vue @@ -24,6 +24,7 @@