-
Notifications
You must be signed in to change notification settings - Fork 85
Closed
Description
Hi,
After the correction in #212 the bug seems still here, i saw your modification but it's override by the "selectId" comming after
const id = useAnalyticsId({
"defaultIdPrefix": "fr-select-group",
"explicitlyProvidedId": id_props ?? nativeSelectProps.id
});
const selectId = `select-${useId()}`;
the select element use "selectId" :
<select
{...nativeSelectProps}
className={cx(fr.cx("fr-select"), nativeSelectProps.className)}
id={selectId}
aria-describedby={stateDescriptionId}
disabled={disabled}
>
{children}
</select>
I think the id in "nativeSelectProps" is overide by the id using "selectId"
Thanx for your reactivity
Metadata
Metadata
Assignees
Labels
No labels