Skip to content

Commit

Permalink
@garronej proposition
Browse files Browse the repository at this point in the history
  • Loading branch information
ddecrulle committed Mar 26, 2024
1 parent bfe1901 commit 46d15fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SelectNext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ function NonMemoizedNonForwardedSelect<T extends SelectProps.Option[]>(
},
...options
].map((option, index) => (
<option value={option.value} key={`${option.value}-${index}`}>
<option {...(option as any)} key={`${option.value}-${index}`}>
{option.label}
</option>
))}
Expand Down

0 comments on commit 46d15fb

Please sign in to comment.