Commit 581c3526 authored by Stefan Probst's avatar Stefan Probst
Browse files

fix: use text value for sort order select

parent f4b9b1c2
......@@ -205,7 +205,11 @@ function ItemSearchSortOrder({ filter }: { filter: ItemSearchQuery }) {
onSelectionChange={onSubmit}
selectedKey={currentSortOrder}
>
{(item) => <Select.Item key={item.id}>Sort by {item.label}</Select.Item>}
{(item) => (
<Select.Item key={item.id} textValue={item.label}>
Sort by {item.label}
</Select.Item>
)}
</Select>
)
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment