Skip to content

Commit

Permalink
Fix settings <select> not selected when clicking on labels
Browse files Browse the repository at this point in the history
  • Loading branch information
martpie committed Jan 6, 2025
1 parent 12cff86 commit 424947d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Setting.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export function Select(
return (
<div>
<Label htmlFor={id}>{label}</Label>
<select className={styles.settingSelect} {...otherProps}>
<select className={styles.settingSelect} id={id} {...otherProps}>
{props.children}
</select>
{description != null && <Description>{description}</Description>}
Expand Down

0 comments on commit 424947d

Please sign in to comment.