feat: sort drop-down entries alphabetically (#75)
This commit is contained in:
@@ -67,7 +67,7 @@ export const SearchableSelect = <T,>({
|
||||
},
|
||||
]),
|
||||
]
|
||||
: options
|
||||
: [...options].sort((a, b) => a.text.localeCompare(b.text))
|
||||
|
||||
return (
|
||||
<Popover open={open} onOpenChange={setOpen}>
|
||||
|
||||
Reference in New Issue
Block a user