Sort filter fields by items that start with typed characters. (#68585)

This commit is contained in:
Luke Elmers 2020-06-15 21:54:04 -06:00 committed by GitHub
parent cc1758dd96
commit d110e65624
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,6 +59,7 @@ export function GenericComboBox<T>(props: GenericComboBoxProps<T>) {
options={euiOptions}
selectedOptions={selectedEuiOptions}
onChange={onComboBoxChange}
sortMatchesBy="startsWith"
{...otherProps}
/>
);