Skip to content

Commit

Permalink
fix check for displaying placeholder value
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperkristensen committed Aug 19, 2024
1 parent 800d034 commit 9504247
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const CountrySelect = forwardRef<
)}
/>
<select
value={value ? value.toLowerCase() : undefined}
value={value !== undefined ? value.toLowerCase() : undefined}
defaultValue={defaultValue ? defaultValue.toLowerCase() : undefined}
disabled={disabled}
className={clx(
Expand Down

0 comments on commit 9504247

Please sign in to comment.