From 71db16a0db7ea00fbd7321ec67fa428e1a3d1af4 Mon Sep 17 00:00:00 2001 From: Bryan Mauger Date: Tue, 7 May 2024 11:14:07 -0400 Subject: [PATCH] CSR-2072 fix ampersand issue. Remove code that bolded letters as you typed. This was causing an issue with ampersands. This 'bold as you type' code was not necessary and it's not a requirement for the project, it was a bonus I added when it was setup initially. --- .../insurance-company/insurance-company-question.vue | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/layouts/insurance-company/insurance-company-question.vue b/src/layouts/insurance-company/insurance-company-question.vue index ecbb6876d..f8f7bbc6a 100644 --- a/src/layouts/insurance-company/insurance-company-question.vue +++ b/src/layouts/insurance-company/insurance-company-question.vue @@ -150,17 +150,6 @@ export default { }, minLength: 0, // Necessary to display fmenu when clearing input - // Bold matching letters as you type in the input - search: function (event, ui) { - setTimeout(() => { - let w = $(this).autocomplete("widget").find("div"); - let regExpString = "(" + this.value + ")"; - let re = new RegExp(regExpString, "i"); - w.html((i, html) => - html.replace(re, "$1") - ); - }, 5); - }, select: function (event, ui) { select(ui.item.value); },