Prometheus/Loki: Allow custom value in operation selects (#46679)
* Prometheus/Loki: Allow custom value in operation selects * Add missing operator
This commit is contained in:
@@ -120,4 +120,5 @@ const operators = [
|
||||
{ label: '=~', value: '=~' },
|
||||
{ label: '=', value: '=' },
|
||||
{ label: '!=', value: '!=' },
|
||||
{ label: '!~', value: '!~' },
|
||||
];
|
||||
|
||||
@@ -76,6 +76,7 @@ function SelectInputParamEditor({
|
||||
value={valueOption}
|
||||
options={selectOptions}
|
||||
placeholder={paramDef.placeholder}
|
||||
allowCustomValue={true}
|
||||
onChange={(value) => onChange(index, value.value!)}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user