diff --git a/public/app/core/components/TagFilter/TagFilter.tsx b/public/app/core/components/TagFilter/TagFilter.tsx index 6a4203f8739..004221657ef 100644 --- a/public/app/core/components/TagFilter/TagFilter.tsx +++ b/public/app/core/components/TagFilter/TagFilter.tsx @@ -51,6 +51,10 @@ export class TagFilter extends React.Component { getOptionLabel: i => i.label, value: tags, styles: ResetStyles, + filterOption: (option, searchQuery) => { + const regex = RegExp(searchQuery, 'i'); + return regex.test(option.value); + }, components: { Option: TagOption, IndicatorsContainer,