From 1fb25529ed0652b5503ba19e8678d3bf986fdcd2 Mon Sep 17 00:00:00 2001 From: Maxim Mordasov Date: Mon, 6 May 2024 04:35:53 +0100 Subject: [PATCH] Make team selects searchable (#4308) # What this PR does Make team selects searchable ## Which issue(s) this PR closes ## Checklist - [ ] Unit, integration, and e2e (if applicable) tests updated - [x] Documentation added (or `pr:no public docs` PR label added if not required) - [x] Added the relevant release notes label (see labels prefixed w/ `release:`). These labels dictate how your PR will show up in the autogenerated release notes. --- grafana-plugin/src/components/Policy/EscalationPolicy.tsx | 1 + grafana-plugin/src/containers/ScheduleForm/ScheduleForm.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/grafana-plugin/src/components/Policy/EscalationPolicy.tsx b/grafana-plugin/src/components/Policy/EscalationPolicy.tsx index 53967b6b62..1c3047f4f9 100644 --- a/grafana-plugin/src/components/Policy/EscalationPolicy.tsx +++ b/grafana-plugin/src/components/Policy/EscalationPolicy.tsx @@ -457,6 +457,7 @@ class _EscalationPolicy extends React.Component { return ( + showSearch disabled={isDisabled} items={grafanaTeamStore.items} fetchItemsFn={grafanaTeamStore.updateItems} diff --git a/grafana-plugin/src/containers/ScheduleForm/ScheduleForm.tsx b/grafana-plugin/src/containers/ScheduleForm/ScheduleForm.tsx index 598ce8df41..6c651ed47d 100644 --- a/grafana-plugin/src/containers/ScheduleForm/ScheduleForm.tsx +++ b/grafana-plugin/src/containers/ScheduleForm/ScheduleForm.tsx @@ -222,6 +222,7 @@ const ScheduleCommonFields = () => { render={({ field }) => ( + showSearch items={grafanaTeamStore.items} fetchItemsFn={grafanaTeamStore.updateItems} fetchItemFn={grafanaTeamStore.fetchItemById}