mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Fix AlertLabelDropdown to be case sensitive (#63787)
Fix AlertLabelDropdown to be case sensitive
This commit is contained in:
@@ -181,7 +181,7 @@ export function SelectBase<T>({
|
||||
|
||||
let ReactSelectComponent = ReactSelect;
|
||||
|
||||
const creatableProps: ComponentProps<typeof Creatable> = {};
|
||||
const creatableProps: ComponentProps<typeof Creatable<SelectableValue<T>>> = {};
|
||||
let asyncSelectProps: any = {};
|
||||
let selectedValue;
|
||||
if (isMulti && loadOptions) {
|
||||
|
||||
@@ -88,7 +88,7 @@ export interface SelectCommonProps<T> {
|
||||
isValidNewOption?: (
|
||||
inputValue: string,
|
||||
value: SelectableValue<T> | null,
|
||||
options: OptionsOrGroups<unknown, GroupBase<unknown>>
|
||||
options: OptionsOrGroups<SelectableValue<T>, GroupBase<SelectableValue<T>>>
|
||||
) => boolean;
|
||||
/** Message to display isLoading=true*/
|
||||
loadingMessage?: string;
|
||||
|
||||
Reference in New Issue
Block a user