Skip to content

Commit

Permalink
Merge pull request #1670 from ProcessMaker/bugfix/FOUR-17914
Browse files Browse the repository at this point in the history
Screen components are not displayed
  • Loading branch information
ryancooley authored Aug 23, 2024
2 parents e65ee84 + 797c4a2 commit d78cea9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/vue-form-builder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,10 @@ export default {
let filter = this.filterQuery.toLowerCase();
const filtered = this.controls.filter((control) => {
let result = control.label.toLowerCase().includes(filter);
if (!control.group) {
// If the group is not defined
control.group = 'Advanced';
}
if (control.group.toLowerCase().includes(filter)) {
result = true;
}
Expand Down

0 comments on commit d78cea9

Please sign in to comment.