Skip to content

Commit

Permalink
Update Selectable props (opensearch-project#6566)
Browse files Browse the repository at this point in the history
Signed-off-by: Huy Nguyen <[email protected]>
  • Loading branch information
huyaboo authored and LDrago27 committed Jun 3, 2024
1 parent 7103b40 commit 3ce26dd
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -286,9 +286,12 @@ export class DataSourceSelectable extends React.Component<
placeholder: 'Search',
compressed: true,
}}
listProps={{
onFocusBadge: false,
}}
options={this.state.dataSourceOptions}
onChange={(newOptions) => this.onChange(newOptions)}
singleSelection={true}
singleSelection={'always'}
data-test-subj={'dataSourceSelectable'}
renderOption={(option) => (
<DataSourceItem
Expand Down

0 comments on commit 3ce26dd

Please sign in to comment.