Skip to content

Commit 7800bd7

Browse files
fix: specify value as location.toLowerCase in Combobox
1 parent 84f55ee commit 7800bd7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/_home/$school/$year/$id/-location-select.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ function LocationCombobox({ value, onChange, locations }: Props) {
7373
<CommandItem
7474
autoFocus={selected === location}
7575
key={location}
76+
value={location.toLowerCase()}
7677
onSelect={(_value) => {
7778
onChange(location)
7879
setOpen(false)

0 commit comments

Comments
 (0)