Skip to content

Commit

Permalink
Issues in FormOptionSetOccurrenceViewSingleOption (non-slickgrid) #3707
Browse files Browse the repository at this point in the history
  • Loading branch information
ashklianko committed Sep 13, 2024
1 parent d080f65 commit b14d631
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@ export class FormOptionSetOccurrenceViewSingleOption
}

private filter(item: FormOptionSetOption, searchString: string): boolean {
return item.getName().toLowerCase().indexOf(searchString.toLowerCase()) > -1 ||
item.getLabel().toLowerCase().indexOf(searchString.toLowerCase()) > -1
|| item.getHelpText().toLowerCase().indexOf(searchString.toLowerCase()) > -1;
return item.getName()?.toLowerCase().indexOf(searchString.toLowerCase()) > -1 ||
item.getLabel()?.toLowerCase().indexOf(searchString.toLowerCase()) > -1
|| item.getHelpText()?.toLowerCase().indexOf(searchString.toLowerCase()) > -1;
}
}

Expand Down

0 comments on commit b14d631

Please sign in to comment.