From 3d726d4ebc9b1fdd3731e4bc9c3883347f17e5e6 Mon Sep 17 00:00:00 2001 From: Roly Gutierrez Date: Mon, 5 Aug 2024 12:48:14 -0400 Subject: [PATCH] FOUR-17516 Fix issues --- src/components/vue-form-builder.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/vue-form-builder.vue b/src/components/vue-form-builder.vue index 409f0e94c..eb3db4e39 100644 --- a/src/components/vue-form-builder.vue +++ b/src/components/vue-form-builder.vue @@ -647,9 +647,9 @@ export default { const excludedLabels = [""]; + let filter = this.filterQuery.toLowerCase(); const filtered = this.controls.filter((control) => { - let filter = this.filterQuery.toLowerCase(); - let result = control.label.toLowerCase(filter).includes(); + let result = control.label.toLowerCase().includes(filter); if (control.group.toLowerCase().includes(filter)) { result = true; }