Skip to content

Commit

Permalink
change aircraft selection to virtualscroll
Browse files Browse the repository at this point in the history
  • Loading branch information
its-felix committed Aug 26, 2024
1 parent 8593b42 commit 5705483
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/src/components/select/aircraft-multiselect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ export function AircraftMultiselect({ aircraft, selectedAircraftCodes, loading,
selectedOptions={selectedOptions}
onChange={(e) => onChange(e.detail.selectedOptions.flatMap((v) => v.value ? [v.value] : []))}
keepOpen={true}
virtualScroll={true}
filteringType={'auto'}
tokenLimit={2}
disabled={disabled}
Expand Down

0 comments on commit 5705483

Please sign in to comment.