@@ -54,10 +54,10 @@ const Menu = <Option, IsMulti extends boolean, Group extends GroupBase<Option>>(
5454
5555 return (
5656 < Box
57+ { ...innerProps }
5758 ref = { innerRef }
5859 className = { cx ( { menu : true } , className ) }
5960 sx = { sx }
60- { ...innerProps }
6161 >
6262 < MenuStylesProvider value = { menuStyles } > { children } </ MenuStylesProvider >
6363 </ Box >
@@ -80,6 +80,7 @@ export const MenuList = <
8080 children,
8181 maxHeight,
8282 isMulti,
83+ innerProps,
8384 selectProps : { size, chakraStyles } ,
8485 } = props ;
8586
@@ -100,6 +101,7 @@ export const MenuList = <
100101
101102 return (
102103 < Box
104+ { ...innerProps }
103105 className = { cx (
104106 {
105107 "menu-list" : true ,
@@ -162,6 +164,7 @@ export const LoadingMessage = <
162164
163165 return (
164166 < Box
167+ { ...innerProps }
165168 className = { cx (
166169 {
167170 "menu-notice" : true ,
@@ -170,7 +173,6 @@ export const LoadingMessage = <
170173 className
171174 ) }
172175 sx = { sx }
173- { ...innerProps }
174176 >
175177 { children }
176178 </ Box >
@@ -224,6 +226,7 @@ export const NoOptionsMessage = <
224226
225227 return (
226228 < Box
229+ { ...innerProps }
227230 className = { cx (
228231 {
229232 "menu-notice" : true ,
@@ -232,7 +235,6 @@ export const NoOptionsMessage = <
232235 className
233236 ) }
234237 sx = { sx }
235- { ...innerProps }
236238 >
237239 { children }
238240 </ Box >
@@ -256,6 +258,7 @@ export const Group = <
256258 headingProps,
257259 label,
258260 selectProps,
261+ innerProps,
259262 } = props ;
260263
261264 const { chakraStyles } = selectProps ;
@@ -265,7 +268,7 @@ export const Group = <
265268 : { } ;
266269
267270 return (
268- < Box className = { cx ( { group : true } , className ) } sx = { sx } >
271+ < Box { ... innerProps } className = { cx ( { group : true } , className ) } sx = { sx } >
269272 < Heading
270273 { ...headingProps }
271274 selectProps = { selectProps }
@@ -427,6 +430,7 @@ export const Option = <
427430
428431 return (
429432 < Box
433+ { ...innerProps }
430434 role = "button"
431435 className = { cx (
432436 {
@@ -439,7 +443,6 @@ export const Option = <
439443 ) }
440444 sx = { sx }
441445 ref = { innerRef }
442- { ...innerProps }
443446 data-disabled = { isDisabled ? true : undefined }
444447 aria-disabled = { isDisabled ? true : undefined }
445448 >
0 commit comments