Skip to content

Commit

Permalink
FOUR-17516 Fix issues
Browse files Browse the repository at this point in the history
  • Loading branch information
gproly committed Aug 5, 2024
1 parent e75f994 commit 3d726d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/vue-form-builder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 3d726d4

Please sign in to comment.