{
Can
= ({ onChange, value, width, isClearable
return (
{
return (
= (props) => {
return (
{
return (
= ({ onChange, value, placeholder, filter })
const selected = options?.find((opt) => opt.value === value);
return !loading ? (
{
return (
{
return (
{
aria-label="User preferences home dashboard drop down"
>
dashboard.id === homeDashboardId)}
getOptionValue={(i) => i.id}
getOptionLabel={this.getFullDashName}
diff --git a/public/app/core/components/TagFilter/TagFilter.tsx b/public/app/core/components/TagFilter/TagFilter.tsx
index e72ee56a1fb..cf0e35d1b9a 100644
--- a/public/app/core/components/TagFilter/TagFilter.tsx
+++ b/public/app/core/components/TagFilter/TagFilter.tsx
@@ -107,7 +107,7 @@ export const TagFilter: FC = ({
Clear tags
)}
- } aria-label="Tag filter" />
+ } aria-label="Tag filter" />
);
};
diff --git a/public/app/core/components/TransformersUI/CalculateFieldTransformerEditor.tsx b/public/app/core/components/TransformersUI/CalculateFieldTransformerEditor.tsx
index 9ca3eed260f..6f7c1d97e4c 100644
--- a/public/app/core/components/TransformersUI/CalculateFieldTransformerEditor.tsx
+++ b/public/app/core/components/TransformersUI/CalculateFieldTransformerEditor.tsx
@@ -300,6 +300,7 @@ export class CalculateFieldTransformerEditor extends React.PureComponent<
Mode
v.value === mode)}
diff --git a/public/app/core/components/TransformersUI/ConcatenateTransformerEditor.tsx b/public/app/core/components/TransformersUI/ConcatenateTransformerEditor.tsx
index 5f1f45258a7..0e7749234f0 100644
--- a/public/app/core/components/TransformersUI/ConcatenateTransformerEditor.tsx
+++ b/public/app/core/components/TransformersUI/ConcatenateTransformerEditor.tsx
@@ -57,6 +57,7 @@ export class ConcatenateTransformerEditor extends React.PureComponent
Name
v.value === frameNameMode)}
diff --git a/public/app/core/components/TransformersUI/FilterByValueTransformer/FilterByValueFilterEditor.tsx b/public/app/core/components/TransformersUI/FilterByValueTransformer/FilterByValueFilterEditor.tsx
index efdc3118054..44fce104fbf 100644
--- a/public/app/core/components/TransformersUI/FilterByValueTransformer/FilterByValueFilterEditor.tsx
+++ b/public/app/core/components/TransformersUI/FilterByValueTransformer/FilterByValueFilterEditor.tsx
@@ -77,6 +77,7 @@ export const FilterByValueFilterEditor: React.FC = (props) => {
Field
= (props) => {
Match
= ({ fieldName, con
Value field name
v.value === options.mode) || modes[0]}
onChange={onSelectMode}
diff --git a/public/app/core/components/TransformersUI/SeriesToFieldsTransformerEditor.tsx b/public/app/core/components/TransformersUI/SeriesToFieldsTransformerEditor.tsx
index ad3cf65ff2a..4146cfb24d1 100644
--- a/public/app/core/components/TransformersUI/SeriesToFieldsTransformerEditor.tsx
+++ b/public/app/core/components/TransformersUI/SeriesToFieldsTransformerEditor.tsx
@@ -32,7 +32,7 @@ export const SeriesToFieldsTransformerEditor: React.FC
);
diff --git a/public/app/core/components/TransformersUI/SortByTransformerEditor.tsx b/public/app/core/components/TransformersUI/SortByTransformerEditor.tsx
index 4ac53bcd525..d23978972d2 100644
--- a/public/app/core/components/TransformersUI/SortByTransformerEditor.tsx
+++ b/public/app/core/components/TransformersUI/SortByTransformerEditor.tsx
@@ -28,6 +28,7 @@ export const SortByTransformerEditor: React.FC
-
+
-
+
@@ -91,10 +91,10 @@ export const configFromQueryTransformRegistryItem: TransformerRegistryItem{row.fieldName}
v.value === options.format) || formats[0]}
@@ -85,9 +86,9 @@ export const prepareTimeseriesTransformerRegistryItem: TransformerRegistryItem ({ label: key, value: key }));
export const OrgRolePicker: FC = ({ value, onChange, ...restProps }) => (
onChange(val.value as OrgRole)}
diff --git a/public/app/features/alerting/AlertRuleList.tsx b/public/app/features/alerting/AlertRuleList.tsx
index b44a2aba32a..a9735b87288 100644
--- a/public/app/features/alerting/AlertRuleList.tsx
+++ b/public/app/features/alerting/AlertRuleList.tsx
@@ -106,6 +106,7 @@ export class AlertRuleListUnconnected extends PureComponent {
= ({
}
+ render={({ field: { ref, ...field } }) => }
control={control}
rules={{ required: true }}
/>
diff --git a/public/app/features/alerting/components/OptionElement.tsx b/public/app/features/alerting/components/OptionElement.tsx
index 47306dc5878..4c949202de5 100644
--- a/public/app/features/alerting/components/OptionElement.tsx
+++ b/public/app/features/alerting/components/OptionElement.tsx
@@ -29,7 +29,7 @@ export const OptionElement: FC = ({ control, option, register, invalid })
control={control}
name={`${modelValue}`}
render={({ field: { ref, ...field } }) => (
-
+
)}
/>
);
diff --git a/public/app/features/alerting/unified/components/AlertManagerPicker.tsx b/public/app/features/alerting/unified/components/AlertManagerPicker.tsx
index f276e2f6c21..a2e4ef2e06d 100644
--- a/public/app/features/alerting/unified/components/AlertManagerPicker.tsx
+++ b/public/app/features/alerting/unified/components/AlertManagerPicker.tsx
@@ -46,6 +46,7 @@ export const AlertManagerPicker: FC = ({ onChange, current, disabled = fa
data-testid="alertmanager-picker"
>
= ({
(
onChange(mapSelectValueToString(value))}
@@ -68,6 +69,7 @@ export const AmRootRouteForm: FC = ({
(
= ({
(
onChange(mapSelectValueToString(value))}
@@ -147,6 +150,7 @@ export const AmRootRouteForm: FC = ({
(
onChange(mapSelectValueToString(value))}
@@ -181,6 +185,7 @@ export const AmRootRouteForm: FC = ({
(
= ({ onCancel,
(
onChange(mapSelectValueToString(value))}
@@ -141,6 +142,7 @@ export const AmRoutesExpandedForm: FC = ({ onCancel,
(
= ({ onCancel,
(
onChange(mapSelectValueToString(value))}
@@ -221,6 +224,7 @@ export const AmRoutesExpandedForm: FC = ({ onCancel,
(
onChange(mapSelectValueToString(value))}
@@ -254,6 +258,7 @@ export const AmRoutesExpandedForm: FC = ({ onCancel,
(
({
name={name('type')}
defaultValue={defaultValues.type}
render={({ field: { ref, onChange, ...field } }) => (
- onChange(value?.value)} />
+ onChange(value?.value)}
+ />
)}
control={control}
rules={{ required: true }}
diff --git a/public/app/features/alerting/unified/components/receivers/form/fields/OptionField.tsx b/public/app/features/alerting/unified/components/receivers/form/fields/OptionField.tsx
index 5111cd0f41e..55277037e81 100644
--- a/public/app/features/alerting/unified/components/receivers/form/fields/OptionField.tsx
+++ b/public/app/features/alerting/unified/components/receivers/form/fields/OptionField.tsx
@@ -96,6 +96,7 @@ const OptionInput: FC = ({ option, invalid, id, pathPref
(
= ({ editingExistingRule }) => {
>
(
- onChange(v?.value)} />
+ onChange(v?.value)}
+ />
)}
name="type"
control={control}
diff --git a/public/app/features/alerting/unified/components/rule-editor/CloudConditionsStep.tsx b/public/app/features/alerting/unified/components/rule-editor/CloudConditionsStep.tsx
index 9c1ebad23b0..de3f1bf2c8c 100644
--- a/public/app/features/alerting/unified/components/rule-editor/CloudConditionsStep.tsx
+++ b/public/app/features/alerting/unified/components/rule-editor/CloudConditionsStep.tsx
@@ -30,6 +30,7 @@ export const CloudConditionsStep: FC = () => {
name="forTimeUnit"
render={({ field: { onChange, ref, ...field } }) => (
onChange(value?.value)}
diff --git a/public/app/features/alerting/unified/components/rule-editor/ConditionField.tsx b/public/app/features/alerting/unified/components/rule-editor/ConditionField.tsx
index 16f41f99ad5..75cc88d0fd4 100644
--- a/public/app/features/alerting/unified/components/rule-editor/ConditionField.tsx
+++ b/public/app/features/alerting/unified/components/rule-editor/ConditionField.tsx
@@ -47,6 +47,7 @@ export const ConditionField: FC = () => {
name="condition"
render={({ field: { onChange, ref, ...field } }) => (
= ({ includeNoData, ...props })
}
return options.filter((opt) => opt.value !== GrafanaAlertStateDecision.NoData);
}, [includeNoData]);
- return ;
+ return ;
};
diff --git a/public/app/features/alerting/unified/components/rule-editor/SelectWIthAdd.tsx b/public/app/features/alerting/unified/components/rule-editor/SelectWIthAdd.tsx
index 6aa55826be5..34ba01e31b2 100644
--- a/public/app/features/alerting/unified/components/rule-editor/SelectWIthAdd.tsx
+++ b/public/app/features/alerting/unified/components/rule-editor/SelectWIthAdd.tsx
@@ -55,6 +55,7 @@ export const SelectWithAdd: FC = ({
} else {
return (
{
{/*
v.value === mapping.source) || valueOptions[0]}
options={valueOptions}
onChange={(v: SelectableValue) => {
@@ -156,6 +157,7 @@ export class AnnotationFieldMapper extends PureComponent {
*/}
= ({ editLinkIdx,
-
+
{linkSettings.type === 'dashboards' && (
<>
@@ -105,7 +105,7 @@ export const LinkSettingsEdit: React.FC = ({ editLinkIdx,
-
+
>
)}
diff --git a/public/app/features/dashboard/components/PanelEditor/getPanelFrameOptions.tsx b/public/app/features/dashboard/components/PanelEditor/getPanelFrameOptions.tsx
index eee6f8d1944..375a716779e 100644
--- a/public/app/features/dashboard/components/PanelEditor/getPanelFrameOptions.tsx
+++ b/public/app/features/dashboard/components/PanelEditor/getPanelFrameOptions.tsx
@@ -146,6 +146,7 @@ export function getPanelFrameCategory(props: OptionPaneRenderProps): OptionsPane
const maxPerRowOptions = [2, 3, 4, 6, 8, 12].map((value) => ({ label: value.toString(), value }));
return (
onPanelConfigChange('maxPerRow', value.value)}
diff --git a/public/app/features/dashboard/components/RepeatRowSelect/RepeatRowSelect.tsx b/public/app/features/dashboard/components/RepeatRowSelect/RepeatRowSelect.tsx
index c2d9ed47c3a..89ffb1d0045 100644
--- a/public/app/features/dashboard/components/RepeatRowSelect/RepeatRowSelect.tsx
+++ b/public/app/features/dashboard/components/RepeatRowSelect/RepeatRowSelect.tsx
@@ -36,5 +36,5 @@ export const RepeatRowSelect: FC = ({ repeat, onChange }) => {
const onSelectChange = useCallback((option: SelectableValue) => onChange(option.value!), [onChange]);
- return ;
+ return ;
};
diff --git a/public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx b/public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx
index d755cb50886..cc3cf9abb18 100644
--- a/public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx
+++ b/public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx
@@ -226,7 +226,13 @@ export class ShareSnapshot extends PureComponent {
-
+
order.value === sortOrder)}
options={sortOrderOptions}
placeholder="Sort queries by"
diff --git a/public/app/features/explore/RichHistory/RichHistorySettings.tsx b/public/app/features/explore/RichHistory/RichHistorySettings.tsx
index 8d73366a96e..d989e0d1541 100644
--- a/public/app/features/explore/RichHistory/RichHistorySettings.tsx
+++ b/public/app/features/explore/RichHistory/RichHistorySettings.tsx
@@ -84,7 +84,12 @@ export function RichHistorySettings(props: RichHistorySettingsProps) {
className="space-between"
>
-
+
diff --git a/public/app/features/explore/RichHistory/RichHistoryStarredTab.tsx b/public/app/features/explore/RichHistory/RichHistoryStarredTab.tsx
index 1c61618cc14..3570d0b3d47 100644
--- a/public/app/features/explore/RichHistory/RichHistoryStarredTab.tsx
+++ b/public/app/features/explore/RichHistory/RichHistoryStarredTab.tsx
@@ -118,6 +118,7 @@ export function RichHistoryStarredTab(props: Props) {
{!activeDatasourceOnly && (
order.value === sortOrder)}
placeholder="Sort queries by"
diff --git a/public/app/features/expressions/ExpressionQueryEditor.tsx b/public/app/features/expressions/ExpressionQueryEditor.tsx
index 2d6475f99b3..8c3d2f5d73b 100644
--- a/public/app/features/expressions/ExpressionQueryEditor.tsx
+++ b/public/app/features/expressions/ExpressionQueryEditor.tsx
@@ -45,7 +45,13 @@ export class ExpressionQueryEditor extends PureComponent {
return (
-
+
{this.renderExpressionType()}
diff --git a/public/app/features/expressions/components/Condition.tsx b/public/app/features/expressions/components/Condition.tsx
index 2987a2aaa04..a9df2ac796e 100644
--- a/public/app/features/expressions/components/Condition.tsx
+++ b/public/app/features/expressions/components/Condition.tsx
@@ -79,6 +79,7 @@ export const Condition: FC = ({ condition, index, onChange, onRemoveCondi
/>
)}
= ({ condition, index, onChange, onRemoveCondi
/>
OF
= ({ labelWidth, onChange, refIds, query }) => {
return (
-
+
-
+
);
diff --git a/public/app/features/expressions/components/Resample.tsx b/public/app/features/expressions/components/Resample.tsx
index e780dee0793..8cc3d606531 100644
--- a/public/app/features/expressions/components/Resample.tsx
+++ b/public/app/features/expressions/components/Resample.tsx
@@ -34,7 +34,7 @@ export const Resample: FC = ({ labelWidth, onChange, refIds, query }) =>
<>
-
+
@@ -42,10 +42,22 @@ export const Resample: FC = ({ labelWidth, onChange, refIds, query }) =>
-
+
-
+
>
diff --git a/public/app/features/inspector/InspectDataOptions.tsx b/public/app/features/inspector/InspectDataOptions.tsx
index e0997cce6b0..b0b66e8ec40 100644
--- a/public/app/features/inspector/InspectDataOptions.tsx
+++ b/public/app/features/inspector/InspectDataOptions.tsx
@@ -104,6 +104,7 @@ export const InspectDataOptions: FC = ({
{data!.length > 1 && (
{
<>
-
+
{this.hasPanelJSON && isPanelJSON && canEdit && (
diff --git a/public/app/features/library-panels/components/OpenLibraryPanelModal/OpenLibraryPanelModal.tsx b/public/app/features/library-panels/components/OpenLibraryPanelModal/OpenLibraryPanelModal.tsx
index 0df0b937ad8..f8892857b4d 100644
--- a/public/app/features/library-panels/components/OpenLibraryPanelModal/OpenLibraryPanelModal.tsx
+++ b/public/app/features/library-panels/components/OpenLibraryPanelModal/OpenLibraryPanelModal.tsx
@@ -54,6 +54,7 @@ export function OpenLibraryPanelModal({ libraryPanel, onDismiss }: OpenLibraryPa
.Please choose which dashboard to view the panel in:
{
{signedInUserIsTeamAdmin && (
this.onPermissionChange(item, member)}
diff --git a/public/app/features/teams/__snapshots__/TeamMemberRow.test.tsx.snap b/public/app/features/teams/__snapshots__/TeamMemberRow.test.tsx.snap
index 1180cb8ffef..071326ce2f3 100644
--- a/public/app/features/teams/__snapshots__/TeamMemberRow.test.tsx.snap
+++ b/public/app/features/teams/__snapshots__/TeamMemberRow.test.tsx.snap
@@ -107,6 +107,7 @@ exports[`Render when feature toggle editorsCanAdmin is turned off should not ren
isMulti={false}
isSearchable={false}
maxMenuHeight={300}
+ menuShouldPortal={true}
onChange={[Function]}
openMenuOnFocus={false}
options={
@@ -197,6 +198,7 @@ exports[`Render when feature toggle editorsCanAdmin is turned on should render p
isMulti={false}
isSearchable={false}
maxMenuHeight={300}
+ menuShouldPortal={true}
onChange={[Function]}
openMenuOnFocus={false}
options={
diff --git a/public/app/features/variables/editor/VariableSelectField.tsx b/public/app/features/variables/editor/VariableSelectField.tsx
index 48f1beb7327..640b0aab404 100644
--- a/public/app/features/variables/editor/VariableSelectField.tsx
+++ b/public/app/features/variables/editor/VariableSelectField.tsx
@@ -33,6 +33,7 @@ export function VariableSelectField({
= (props) => {
return (
props.onChange(value!)}
value={selected}
diff --git a/public/app/plugins/datasource/cloud-monitoring/components/AlignmentFunction.tsx b/public/app/plugins/datasource/cloud-monitoring/components/AlignmentFunction.tsx
index 700564aa964..9d8fd8ab959 100644
--- a/public/app/plugins/datasource/cloud-monitoring/components/AlignmentFunction.tsx
+++ b/public/app/plugins/datasource/cloud-monitoring/components/AlignmentFunction.tsx
@@ -20,6 +20,7 @@ export const AlignmentFunction: FC = ({ query, templateVariableOptions, o
return (
onChange({ ...query, perSeriesAligner: value! })}
value={[...alignOptions, ...templateVariableOptions].find((s) => s.value === perSeriesAligner)}
diff --git a/public/app/plugins/datasource/cloud-monitoring/components/AlignmentPeriod.tsx b/public/app/plugins/datasource/cloud-monitoring/components/AlignmentPeriod.tsx
index ed472a76b94..707cc12e6da 100644
--- a/public/app/plugins/datasource/cloud-monitoring/components/AlignmentPeriod.tsx
+++ b/public/app/plugins/datasource/cloud-monitoring/components/AlignmentPeriod.tsx
@@ -24,6 +24,7 @@ export const AlignmentPeriod: FC = ({ templateVariableOptions, onChange,
return (
onChange({ ...query, alignmentPeriod: value! })}
value={[...options, ...templateVariableOptions].find((s) => s.value === query.alignmentPeriod)}
diff --git a/public/app/plugins/datasource/cloud-monitoring/components/ConfigEditor/ConfigEditor.tsx b/public/app/plugins/datasource/cloud-monitoring/components/ConfigEditor/ConfigEditor.tsx
index 465138c84a2..745ad6eee16 100644
--- a/public/app/plugins/datasource/cloud-monitoring/components/ConfigEditor/ConfigEditor.tsx
+++ b/public/app/plugins/datasource/cloud-monitoring/components/ConfigEditor/ConfigEditor.tsx
@@ -71,6 +71,7 @@ export class ConfigEditor extends PureComponent {
x.value === jsonData.authenticationType) || authTypes[0]}
options={authTypes}
diff --git a/public/app/plugins/datasource/cloud-monitoring/components/Fields.tsx b/public/app/plugins/datasource/cloud-monitoring/components/Fields.tsx
index fc8d4aa43d0..23990e54205 100644
--- a/public/app/plugins/datasource/cloud-monitoring/components/Fields.tsx
+++ b/public/app/plugins/datasource/cloud-monitoring/components/Fields.tsx
@@ -22,6 +22,7 @@ export const VariableQueryField: FC = ({
return (
= ({
tooltip="You can reduce the amount of data returned for a metric by combining different time series. To combine multiple time series, you can specify a grouping and a function. Grouping is done on the basis of labels. The grouping function is used to combine the time series in the group into a single time series."
>
= ({
const AddFilter = () => {
return (
@@ -77,6 +78,7 @@ export const LabelFilter: FunctionComponent = ({
{filters.map(({ key, operator, value, condition }, index) => (
`Use label key: ${v}`}
@@ -91,6 +93,7 @@ export const LabelFilter: FunctionComponent = ({
}}
/>
@@ -100,6 +103,7 @@ export const LabelFilter: FunctionComponent = ({
renderControl={OperatorButton}
/>
`Use label value: ${v}`}
allowCustomValue
diff --git a/public/app/plugins/datasource/cloud-monitoring/components/Metrics.tsx b/public/app/plugins/datasource/cloud-monitoring/components/Metrics.tsx
index 3cd4621a686..6822fd3f4a1 100644
--- a/public/app/plugins/datasource/cloud-monitoring/components/Metrics.tsx
+++ b/public/app/plugins/datasource/cloud-monitoring/components/Metrics.tsx
@@ -123,6 +123,7 @@ export function Metrics(props: Props) {
s.value === service)}
@@ -138,6 +139,7 @@ export function Metrics(props: Props) {
s.value === metricType)}
diff --git a/public/app/plugins/datasource/cloud-monitoring/components/Project.tsx b/public/app/plugins/datasource/cloud-monitoring/components/Project.tsx
index 85bf1549be4..a69d08af2ed 100644
--- a/public/app/plugins/datasource/cloud-monitoring/components/Project.tsx
+++ b/public/app/plugins/datasource/cloud-monitoring/components/Project.tsx
@@ -29,6 +29,7 @@ export function Project({ projectName, datasource, onChange, templateVariableOpt
return (
`Use project: ${v}`}
diff --git a/public/app/plugins/datasource/cloud-monitoring/components/QueryEditor.tsx b/public/app/plugins/datasource/cloud-monitoring/components/QueryEditor.tsx
index 9e07f353c9f..19f3004a914 100644
--- a/public/app/plugins/datasource/cloud-monitoring/components/QueryEditor.tsx
+++ b/public/app/plugins/datasource/cloud-monitoring/components/QueryEditor.tsx
@@ -76,6 +76,7 @@ export class QueryEditor extends PureComponent {
}
>
= ({ query, templateVariableOptions, onChange,
return (
= ({ query, templateVariableOptions, onCh
return (
s.value === query?.selectorName ?? '')}
diff --git a/public/app/plugins/datasource/cloud-monitoring/components/SLO/Service.tsx b/public/app/plugins/datasource/cloud-monitoring/components/SLO/Service.tsx
index 364b701d192..175f32a7f59 100644
--- a/public/app/plugins/datasource/cloud-monitoring/components/SLO/Service.tsx
+++ b/public/app/plugins/datasource/cloud-monitoring/components/SLO/Service.tsx
@@ -36,6 +36,7 @@ export const Service: React.FC = ({ query, templateVariableOptions, onCha
return (
this.setSelectedRegion(v)}
@@ -333,6 +334,7 @@ export class CloudWatchLogsQueryField extends React.PureComponent {
Use results from panel
{
<>
{
<>
dispatch(changeBucketAggregationSetting(bucketAgg, 'order', e.value!))}
options={orderOptions}
value={bucketAgg.settings?.order || bucketAggregationConfig.terms.defaultSettings?.order}
@@ -30,6 +31,7 @@ export const TermsSettingsEditor = ({ bucketAgg }: Props) => {
{
dispatch(changeBucketAggregationSetting(bucketAgg, 'orderBy', e.value!))}
options={orderBy}
value={bucketAgg.settings?.orderBy || bucketAggregationConfig.terms.defaultSettings?.orderBy}
diff --git a/public/app/plugins/datasource/elasticsearch/components/QueryEditor/MetricAggregationsEditor/SettingsEditor/MovingAverageSettingsEditor.tsx b/public/app/plugins/datasource/elasticsearch/components/QueryEditor/MetricAggregationsEditor/SettingsEditor/MovingAverageSettingsEditor.tsx
index 84cce202273..68a9251d475 100644
--- a/public/app/plugins/datasource/elasticsearch/components/QueryEditor/MetricAggregationsEditor/SettingsEditor/MovingAverageSettingsEditor.tsx
+++ b/public/app/plugins/datasource/elasticsearch/components/QueryEditor/MetricAggregationsEditor/SettingsEditor/MovingAverageSettingsEditor.tsx
@@ -20,6 +20,7 @@ export const MovingAverageSettingsEditor = ({ metric }: Props) => {
<>
dispatch(changeMetricSetting(metric, 'model', value.value!))}
options={movingAvgModelOptions}
value={metric.settings?.model}
diff --git a/public/app/plugins/datasource/elasticsearch/components/QueryEditor/MetricAggregationsEditor/SettingsEditor/TopMetricsSettingsEditor.tsx b/public/app/plugins/datasource/elasticsearch/components/QueryEditor/MetricAggregationsEditor/SettingsEditor/TopMetricsSettingsEditor.tsx
index b9c679e1aaa..9b4db4d857d 100644
--- a/public/app/plugins/datasource/elasticsearch/components/QueryEditor/MetricAggregationsEditor/SettingsEditor/TopMetricsSettingsEditor.tsx
+++ b/public/app/plugins/datasource/elasticsearch/components/QueryEditor/MetricAggregationsEditor/SettingsEditor/TopMetricsSettingsEditor.tsx
@@ -23,6 +23,7 @@ export const TopMetricsSettingsEditor: FunctionComponent = ({ metric }) =
<>
dispatch(
changeMetricSetting(
@@ -40,6 +41,7 @@ export const TopMetricsSettingsEditor: FunctionComponent = ({ metric }) =
dispatch(changeMetricSetting(metric, 'order', e.value))}
options={orderOptions}
value={metric.settings?.order}
diff --git a/public/app/plugins/datasource/elasticsearch/components/QueryEditor/MetricAggregationsEditor/SettingsEditor/index.tsx b/public/app/plugins/datasource/elasticsearch/components/QueryEditor/MetricAggregationsEditor/SettingsEditor/index.tsx
index 959d773aa33..48561af4d0e 100644
--- a/public/app/plugins/datasource/elasticsearch/components/QueryEditor/MetricAggregationsEditor/SettingsEditor/index.tsx
+++ b/public/app/plugins/datasource/elasticsearch/components/QueryEditor/MetricAggregationsEditor/SettingsEditor/index.tsx
@@ -125,6 +125,7 @@ export const SettingsEditor = ({ metric, previousMetrics }: Props) => {
<>
dispatch(changeMetricSetting(metric, 'unit', e.value))}
options={rateAggUnitOptions}
@@ -134,6 +135,7 @@ export const SettingsEditor = ({ metric, previousMetrics }: Props) => {
dispatch(changeMetricSetting(metric, 'mode', e.value))}
options={rateAggModeOptions}
diff --git a/public/app/plugins/datasource/elasticsearch/components/hooks/useCreatableSelectPersistedBehaviour.test.tsx b/public/app/plugins/datasource/elasticsearch/components/hooks/useCreatableSelectPersistedBehaviour.test.tsx
index d50bc823a4f..737ada9d3b7 100644
--- a/public/app/plugins/datasource/elasticsearch/components/hooks/useCreatableSelectPersistedBehaviour.test.tsx
+++ b/public/app/plugins/datasource/elasticsearch/components/hooks/useCreatableSelectPersistedBehaviour.test.tsx
@@ -9,6 +9,7 @@ describe('useCreatableSelectPersistedBehaviour', () => {
const MyComp = (_: { force?: boolean }) => (
{
const MyComp = () => (
{
const MyComp = (_: { force?: boolean }) => (
{
label="Pattern"
inputEl={
{
label="Version"
inputEl={
{
const maxConcurrentShardRequests = getMaxConcurrenShardRequestOrDefault(
diff --git a/public/app/plugins/datasource/grafana-azure-monitor-datasource/components/AzureCredentialsForm.tsx b/public/app/plugins/datasource/grafana-azure-monitor-datasource/components/AzureCredentialsForm.tsx
index 7b23c3940ee..bdfa47550ef 100644
--- a/public/app/plugins/datasource/grafana-azure-monitor-datasource/components/AzureCredentialsForm.tsx
+++ b/public/app/plugins/datasource/grafana-azure-monitor-datasource/components/AzureCredentialsForm.tsx
@@ -157,6 +157,7 @@ export const AzureCredentialsForm: FunctionComponent = (props: Props) =>
Authentication
opt.value === credentials.authType)}
options={authTypeOptions}
@@ -175,6 +176,7 @@ export const AzureCredentialsForm: FunctionComponent = (props: Props) =>
Azure Cloud
opt.value === credentials.azureCloud)}
options={azureCloudOptions}
@@ -252,6 +254,7 @@ export const AzureCredentialsForm: FunctionComponent = (props: Props) =>
Default Subscription
opt.value === credentials.defaultSubscriptionId)
diff --git a/public/app/plugins/datasource/grafana-azure-monitor-datasource/components/InsightsAnalyticsEditor/index.tsx b/public/app/plugins/datasource/grafana-azure-monitor-datasource/components/InsightsAnalyticsEditor/index.tsx
index 0312f701f31..274595e3f49 100644
--- a/public/app/plugins/datasource/grafana-azure-monitor-datasource/components/InsightsAnalyticsEditor/index.tsx
+++ b/public/app/plugins/datasource/grafana-azure-monitor-datasource/components/InsightsAnalyticsEditor/index.tsx
@@ -28,6 +28,7 @@ const InsightsAnalyticsEditor: React.FC = ({ query
= ({ query, variableOp
return (
= ({
return (
= ({ query, dimensionOptio
{dimensionFilters.map((filter, index) => (
= ({
return (
= ({
return (
= ({
return (
= ({
return (
= ({
{/* It's expected that the label reads Resource type but the property is metricDefinition */}
= ({
return (
= ({ query, onQueryChange })
return (
= ({
return multiSelect ? (
= ({
) : (
{
{
{
v.value === query.queryType) || this.queryTypes[0]}
onChange={this.onQueryTypeChange}
diff --git a/public/app/plugins/datasource/graphite/configuration/ConfigEditor.tsx b/public/app/plugins/datasource/graphite/configuration/ConfigEditor.tsx
index ca75f03c12e..e0cf7288c1d 100644
--- a/public/app/plugins/datasource/graphite/configuration/ConfigEditor.tsx
+++ b/public/app/plugins/datasource/graphite/configuration/ConfigEditor.tsx
@@ -74,6 +74,7 @@ export class ConfigEditor extends PureComponent {
Version
{
Type
type.value === options.jsonData.graphiteType)}
width={8}
diff --git a/public/app/plugins/datasource/influxdb/components/ConfigEditor.tsx b/public/app/plugins/datasource/influxdb/components/ConfigEditor.tsx
index 6baed92653d..6a7ae6ded1b 100644
--- a/public/app/plugins/datasource/influxdb/components/ConfigEditor.tsx
+++ b/public/app/plugins/datasource/influxdb/components/ConfigEditor.tsx
@@ -215,6 +215,7 @@ export class ConfigEditor extends PureComponent {
HTTP Method
httpMode.value === options.jsonData.httpMode)}
options={httpModes}
@@ -257,6 +258,7 @@ export class ConfigEditor extends PureComponent {
Format as
{
onChange({ ...query, resultFormat: v.value });
diff --git a/public/app/plugins/datasource/influxdb/components/VisualInfluxQLEditor/Seg.tsx b/public/app/plugins/datasource/influxdb/components/VisualInfluxQLEditor/Seg.tsx
index b7d125eca77..d18fe860681 100644
--- a/public/app/plugins/datasource/influxdb/components/VisualInfluxQLEditor/Seg.tsx
+++ b/public/app/plugins/datasource/influxdb/components/VisualInfluxQLEditor/Seg.tsx
@@ -76,6 +76,7 @@ const SelReload = ({ loadOptions, allowCustomValue, onChange, onClose }: SelRelo
return (
v.value === query.service) || null}
onChange={(v) => {
@@ -69,6 +70,7 @@ export function SearchForm({ datasource, query, onChange }: Props) {
v.value === query.operation) || null}
onChange={(v) =>
diff --git a/public/app/plugins/datasource/opentsdb/components/OpenTsdbDetails.tsx b/public/app/plugins/datasource/opentsdb/components/OpenTsdbDetails.tsx
index 0457fe63db7..c6a0e5b125c 100644
--- a/public/app/plugins/datasource/opentsdb/components/OpenTsdbDetails.tsx
+++ b/public/app/plugins/datasource/opentsdb/components/OpenTsdbDetails.tsx
@@ -29,6 +29,7 @@ export const OpenTsdbDetails = (props: Props) => {
Version
version.value === value.jsonData.tsdbVersion) ?? tsdbVersions[0]}
onChange={onSelectChangeHandler('tsdbVersion', value, onChange)}
@@ -37,6 +38,7 @@ export const OpenTsdbDetails = (props: Props) => {
Resolution
resolution.value === value.jsonData.tsdbResolution) ??
diff --git a/public/app/plugins/datasource/prometheus/components/PromQueryEditor.tsx b/public/app/plugins/datasource/prometheus/components/PromQueryEditor.tsx
index 7075368260f..39443895823 100644
--- a/public/app/plugins/datasource/prometheus/components/PromQueryEditor.tsx
+++ b/public/app/plugins/datasource/prometheus/components/PromQueryEditor.tsx
@@ -163,6 +163,7 @@ export class PromQueryEditor extends PureComponent
Resolution
Format
= (props: Props) =>
Authentication
opt.value === credentials.authType)}
options={authTypeOptions}
@@ -172,6 +173,7 @@ export const AzureCredentialsForm: FunctionComponent = (props: Props) =>
Azure Cloud
opt.value === credentials.azureCloud)}
options={azureCloudOptions}
@@ -244,6 +246,7 @@ export const AzureCredentialsForm: FunctionComponent = (props: Props) =>
Default Subscription
opt.value === credentials.defaultSubscriptionId)
diff --git a/public/app/plugins/datasource/prometheus/configuration/PromSettings.tsx b/public/app/plugins/datasource/prometheus/configuration/PromSettings.tsx
index fab61014329..648ae92931e 100644
--- a/public/app/plugins/datasource/prometheus/configuration/PromSettings.tsx
+++ b/public/app/plugins/datasource/prometheus/configuration/PromSettings.tsx
@@ -75,6 +75,7 @@ export const PromSettings = (props: Props) => {
HTTP Method
o.value === options.jsonData.httpMethod)}
onChange={onChangeHandler('httpMethod', options, onOptionsChange)}
diff --git a/public/app/plugins/datasource/prometheus/configuration/__snapshots__/AzureCredentialsForm.test.tsx.snap b/public/app/plugins/datasource/prometheus/configuration/__snapshots__/AzureCredentialsForm.test.tsx.snap
index 12ea8b30e5a..4bf5b932f13 100644
--- a/public/app/plugins/datasource/prometheus/configuration/__snapshots__/AzureCredentialsForm.test.tsx.snap
+++ b/public/app/plugins/datasource/prometheus/configuration/__snapshots__/AzureCredentialsForm.test.tsx.snap
@@ -36,6 +36,7 @@ exports[`Render should disable azure monitor secret input 1`] = `
isMulti={false}
isSearchable={true}
maxMenuHeight={300}
+ menuShouldPortal={true}
onChange={[Function]}
openMenuOnFocus={false}
options={
@@ -181,6 +182,7 @@ exports[`Render should disable azure monitor secret input 1`] = `
isMulti={false}
isSearchable={true}
maxMenuHeight={300}
+ menuShouldPortal={true}
onChange={[Function]}
openMenuOnFocus={false}
options={Array []}
@@ -249,6 +251,7 @@ exports[`Render should enable azure monitor load subscriptions button 1`] = `
isMulti={false}
isSearchable={true}
maxMenuHeight={300}
+ menuShouldPortal={true}
onChange={[Function]}
openMenuOnFocus={false}
options={
@@ -384,6 +387,7 @@ exports[`Render should enable azure monitor load subscriptions button 1`] = `
isMulti={false}
isSearchable={true}
maxMenuHeight={300}
+ menuShouldPortal={true}
onChange={[Function]}
openMenuOnFocus={false}
options={Array []}
@@ -452,6 +456,7 @@ exports[`Render should render component 1`] = `
isMulti={false}
isSearchable={true}
maxMenuHeight={300}
+ menuShouldPortal={true}
onChange={[Function]}
openMenuOnFocus={false}
options={
@@ -587,6 +592,7 @@ exports[`Render should render component 1`] = `
isMulti={false}
isSearchable={true}
maxMenuHeight={300}
+ menuShouldPortal={true}
onChange={[Function]}
openMenuOnFocus={false}
options={Array []}
diff --git a/public/app/plugins/datasource/testdata/QueryEditor.tsx b/public/app/plugins/datasource/testdata/QueryEditor.tsx
index 36a6cf22ba7..4b52f2b2c4e 100644
--- a/public/app/plugins/datasource/testdata/QueryEditor.tsx
+++ b/public/app/plugins/datasource/testdata/QueryEditor.tsx
@@ -170,6 +170,7 @@ export const QueryEditor = ({ query, datasource, onChange, onRunQuery }: Props)
item.value === query.scenarioId)}
onChange={onScenarioChange}
@@ -256,6 +257,7 @@ export const QueryEditor = ({ query, datasource, onChange, onRunQuery }: Props)
{scenarioId === 'grafana_api' && (
{
{
{
return (
-
+
{query?.stream?.type === 'signal' &&
streamingClientFields.map(({ label, id, min, step, placeholder }) => {
diff --git a/public/app/plugins/datasource/testdata/components/USAQueryEditor.tsx b/public/app/plugins/datasource/testdata/components/USAQueryEditor.tsx
index d546ed8e3e6..db733072c5e 100644
--- a/public/app/plugins/datasource/testdata/components/USAQueryEditor.tsx
+++ b/public/app/plugins/datasource/testdata/components/USAQueryEditor.tsx
@@ -14,6 +14,7 @@ export function USAQueryEditor({ query, onChange }: Props) {
{
onChange({ ...query, mode: v.value });
@@ -35,6 +36,7 @@ export function USAQueryEditor({ query, onChange }: Props) {
{
onChange({ ...query, fields: vals.map((v) => v.value) });
@@ -47,6 +49,7 @@ export function USAQueryEditor({ query, onChange }: Props) {
{
onChange({ ...query, states: vals.map((v) => v.value) });
diff --git a/public/app/plugins/panel/geomap/dims/editors/ColorDimensionEditor.tsx b/public/app/plugins/panel/geomap/dims/editors/ColorDimensionEditor.tsx
index 70fb94d4758..25f11359eaf 100644
--- a/public/app/plugins/panel/geomap/dims/editors/ColorDimensionEditor.tsx
+++ b/public/app/plugins/panel/geomap/dims/editors/ColorDimensionEditor.tsx
@@ -57,6 +57,7 @@ export const ColorDimensionEditor: FC
> = ({
return (
<>
onChange(v.value)}
diff --git a/public/app/plugins/panel/geomap/editor/LayerEditor.tsx b/public/app/plugins/panel/geomap/editor/LayerEditor.tsx
index 5446380d6b8..97c4994dbdf 100644
--- a/public/app/plugins/panel/geomap/editor/LayerEditor.tsx
+++ b/public/app/plugins/panel/geomap/editor/LayerEditor.tsx
@@ -164,6 +164,7 @@ export const LayerEditor: FC = ({ options, onChange, data, fil
return (
{
diff --git a/public/app/plugins/panel/geomap/editor/MapViewEditor.tsx b/public/app/plugins/panel/geomap/editor/MapViewEditor.tsx
index 0e7c29996c3..f40f7639705 100644
--- a/public/app/plugins/panel/geomap/editor/MapViewEditor.tsx
+++ b/public/app/plugins/panel/geomap/editor/MapViewEditor.tsx
@@ -62,7 +62,7 @@ export const MapViewEditor: FC