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(
139139 { ( ( ) => {
140140 const nativeInputOrTextArea = (
141141 < NativeInputOrTextArea
142+ { ...( nativeInputOrTextAreaProps as { } ) }
142143 className = { cx (
143144 fr . cx (
144145 "fr-input" ,
@@ -159,7 +160,6 @@ export const Input = memo(
159160 aria-describedby = { messageId }
160161 type = { textArea ? undefined : nativeInputProps ?. type ?? "text" }
161162 id = { inputId }
162- { ...( nativeInputOrTextAreaProps as { } ) }
163163 />
164164 ) ;
165165
Original file line number Diff line number Diff line change @@ -99,11 +99,11 @@ export const Select = memo(
9999 </ label >
100100 ) }
101101 < select
102+ { ...nativeSelectProps }
102103 className = { cx ( fr . cx ( "fr-select" ) , nativeSelectProps . className ) }
103104 id = { selectId }
104105 aria-describedby = { stateDescriptionId }
105106 disabled = { disabled }
106- { ...nativeSelectProps }
107107 >
108108 { children }
109109 </ select >
Original file line number Diff line number Diff line change @@ -147,11 +147,11 @@ function NonMemoizedNonForwardedSelect<T extends SelectProps.Option[]>(
147147 </ label >
148148 ) }
149149 < select
150+ { ...( nativeSelectProps as any ) }
150151 className = { cx ( fr . cx ( "fr-select" ) , nativeSelectProps ?. className ) }
151152 id = { selectId }
152153 aria-describedby = { stateDescriptionId }
153154 disabled = { disabled }
154- { ...( nativeSelectProps as any ) }
155155 >
156156 { [
157157 {
You can’t perform that action at this time.
0 commit comments