File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -139,6 +139,7 @@ export const Input = memo(
139
139
{ ( ( ) => {
140
140
const nativeInputOrTextArea = (
141
141
< NativeInputOrTextArea
142
+ { ...( nativeInputOrTextAreaProps as { } ) }
142
143
className = { cx (
143
144
fr . cx (
144
145
"fr-input" ,
@@ -159,7 +160,6 @@ export const Input = memo(
159
160
aria-describedby = { messageId }
160
161
type = { textArea ? undefined : nativeInputProps ?. type ?? "text" }
161
162
id = { inputId }
162
- { ...( nativeInputOrTextAreaProps as { } ) }
163
163
/>
164
164
) ;
165
165
Original file line number Diff line number Diff line change @@ -99,11 +99,11 @@ export const Select = memo(
99
99
</ label >
100
100
) }
101
101
< select
102
+ { ...nativeSelectProps }
102
103
className = { cx ( fr . cx ( "fr-select" ) , nativeSelectProps . className ) }
103
104
id = { selectId }
104
105
aria-describedby = { stateDescriptionId }
105
106
disabled = { disabled }
106
- { ...nativeSelectProps }
107
107
>
108
108
{ children }
109
109
</ select >
Original file line number Diff line number Diff line change @@ -147,11 +147,11 @@ function NonMemoizedNonForwardedSelect<T extends SelectProps.Option[]>(
147
147
</ label >
148
148
) }
149
149
< select
150
+ { ...( nativeSelectProps as any ) }
150
151
className = { cx ( fr . cx ( "fr-select" ) , nativeSelectProps ?. className ) }
151
152
id = { selectId }
152
153
aria-describedby = { stateDescriptionId }
153
154
disabled = { disabled }
154
- { ...( nativeSelectProps as any ) }
155
155
>
156
156
{ [
157
157
{
You can’t perform that action at this time.
0 commit comments