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

This commit is contained in:
Luke Elmers 2020-06-16 12:43:48 -06:00 committed by GitHub
parent d97841416c
commit 79bfa8a855
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}
/>
);