Skip to content

Commit 17e3b94

Browse files
committed
1 parent ebf290f commit 17e3b94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Select.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export const Select = memo(
5050

5151
const id = useAnalyticsId({
5252
"defaultIdPrefix": "fr-select-group",
53-
"explicitlyProvidedId": id_props
53+
"explicitlyProvidedId": id_props ?? nativeSelectProps.id
5454
});
5555

5656
const selectId = `select-${useId()}`;

0 commit comments

Comments
 (0)