Skip to content

Commit

Permalink
fix check for displaying placeholder value (#8649)
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperkristensen authored Aug 19, 2024
1 parent 800d034 commit cbdec98
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 cbdec98

Please sign in to comment.