From 47b1f610f133517c38ab3907b674c3247877d2a1 Mon Sep 17 00:00:00 2001 From: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Date: Mon, 29 Apr 2024 17:32:44 +0530 Subject: [PATCH] feat: Adds helper text for custom fields in contact sidebars (#9317) * feat: Adds helper text for custom fields in contact sidebars * Update app/javascript/dashboard/components/ui/HelperTextPopup.vue Co-authored-by: Shivam Mishra * chore: Review fix --------- Co-authored-by: Shivam Mishra --- .../dashboard/components/CustomAttribute.vue | 16 +++++++++---- .../components/ui/HelperTextPopup.vue | 24 +++++++++++++++++++ .../customAttributes/CustomAttributes.vue | 1 + 3 files changed, 37 insertions(+), 4 deletions(-) create mode 100644 app/javascript/dashboard/components/ui/HelperTextPopup.vue diff --git a/app/javascript/dashboard/components/CustomAttribute.vue b/app/javascript/dashboard/components/CustomAttribute.vue index b50ad54cb..2c0fb48f7 100644 --- a/app/javascript/dashboard/components/CustomAttribute.vue +++ b/app/javascript/dashboard/components/CustomAttribute.vue @@ -12,7 +12,7 @@
{{ label }} + + diff --git a/app/javascript/dashboard/routes/dashboard/conversation/customAttributes/CustomAttributes.vue b/app/javascript/dashboard/routes/dashboard/conversation/customAttributes/CustomAttributes.vue index 6dfb85c4b..20bef48f6 100644 --- a/app/javascript/dashboard/routes/dashboard/conversation/customAttributes/CustomAttributes.vue +++ b/app/javascript/dashboard/routes/dashboard/conversation/customAttributes/CustomAttributes.vue @@ -7,6 +7,7 @@ :attribute-type="attribute.attribute_display_type" :values="attribute.attribute_values" :label="attribute.attribute_display_name" + :description="attribute.attribute_description" :value="attribute.value" :show-actions="true" :attribute-regex="attribute.regex_pattern"