File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
packages/ra-ui-materialui/src/input Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import {
1616 type FormControlProps ,
1717 Chip ,
1818 OutlinedInput ,
19+ InputLabelProps ,
1920} from '@mui/material' ;
2021import {
2122 type ChoicesProps ,
@@ -106,6 +107,7 @@ export const SelectArrayInput = (inProps: SelectArrayInputProps) => {
106107 format,
107108 helperText,
108109 label,
110+ InputLabelProps,
109111 isFetching : isFetchingProp ,
110112 isLoading : isLoadingProp ,
111113 isPending : isPendingProp ,
@@ -308,6 +310,7 @@ export const SelectArrayInput = (inProps: SelectArrayInputProps) => {
308310 ref = { inputLabel }
309311 id = { `${ id } -outlined-label` }
310312 htmlFor = { id }
313+ { ...InputLabelProps }
311314 >
312315 < FieldTitle
313316 label = { label }
@@ -380,6 +383,7 @@ export type SelectArrayInputProps = ChoicesProps &
380383 Omit < CommonInputProps , 'source' > &
381384 Omit < FormControlProps , 'defaultValue' | 'onBlur' | 'onChange' > & {
382385 options ?: SelectProps ;
386+ InputLabelProps ?: Omit < InputLabelProps , 'htmlFor' | 'id' | 'ref' > ;
383387 source ?: string ;
384388 onChange ?: ( event : ChangeEvent < HTMLInputElement > | RaRecord ) => void ;
385389 } ;
You can’t perform that action at this time.
0 commit comments