Skip to content

Commit

Permalink
Use EuiCompressedComboBox
Browse files Browse the repository at this point in the history
Signed-off-by: Miki <[email protected]>
  • Loading branch information
AMoo-Miki committed Aug 1, 2024
1 parent 4a48b85 commit 060c764
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions public/components/report_definitions/delivery/delivery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
EuiHorizontalRule,
EuiSpacer,
EuiCompressedCheckbox,
EuiComboBox,
EuiCompressedComboBox,
EuiCompressedFieldText,
EuiSmallButton,
} from '@elastic/eui';
Expand Down Expand Up @@ -281,7 +281,7 @@ export function ReportDelivery(props: ReportDeliveryProps) {
isInvalid={showDeliveryChannelError}
error={deliveryChannelError}
>
<EuiComboBox
<EuiCompressedComboBox
id="notificationsChannelSelect"
placeholder={'Select channels'}
options={channels}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
EuiCompressedRadioGroup,
EuiCompressedTextArea,
EuiCompressedCheckboxGroup,
EuiComboBox,
EuiCompressedComboBox,
} from '@elastic/eui';
import {
REPORT_SOURCE_RADIOS,
Expand Down Expand Up @@ -712,7 +712,7 @@ export function ReportSettings(props: ReportSettingProps) {
isInvalid={showSettingsReportSourceError}
error={settingsReportSourceErrorMessage}
>
<EuiComboBox
<EuiCompressedComboBox
id="reportSourceDashboardSelector"
placeholder={i18n.translate(
'opensearch.reports.reportSettingProps.placeholder.selectDashboard',
Expand All @@ -739,7 +739,7 @@ export function ReportSettings(props: ReportSettingProps) {
isInvalid={showSettingsReportSourceError}
error={settingsReportSourceErrorMessage}
>
<EuiComboBox
<EuiCompressedComboBox
id="reportSourceVisualizationSelect"
placeholder={i18n.translate(
'opensearch.reports.reportSettingProps.form.placeholder.selectAVisualization',
Expand All @@ -766,7 +766,7 @@ export function ReportSettings(props: ReportSettingProps) {
isInvalid={showSettingsReportSourceError}
error={settingsReportSourceErrorMessage}
>
<EuiComboBox
<EuiCompressedComboBox
id="reportSourceSavedSearchSelect"
placeholder={i18n.translate(
'opensearch.reports.reportSettingProps.form.placeholder.selectASavedSearch',
Expand Down Expand Up @@ -800,7 +800,7 @@ export function ReportSettings(props: ReportSettingProps) {
isInvalid={showSettingsReportSourceError}
error={settingsReportSourceErrorMessage}
>
<EuiComboBox
<EuiCompressedComboBox
id="reportSourceNotebooksSelect"
placeholder="Select a notebook"
singleSelection={{ asPlainText: true }}
Expand Down

0 comments on commit 060c764

Please sign in to comment.