Skip to content

Commit

Permalink
Update Selectable props (#6566)
Browse files Browse the repository at this point in the history
Signed-off-by: Huy Nguyen <73027756+huyaboo@users.noreply.github.com>
  • Loading branch information
huyaboo authored Apr 20, 2024
1 parent da88296 commit afb8cca
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 afb8cca

Please sign in to comment.