Closed Thorekt closed 8 months ago
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
Ah yeah, sure sorry about that.
Fixed for good this time, thanks for reporting.
Hi,
After the correction in #212 the bug seems still here, i saw your modification but it's override by the "selectId" comming after
the select element use "selectId" :
I think the id in "nativeSelectProps" is overide by the id using "selectId"
Thanx for your reactivity