|
|
@ -45,7 +45,6 @@ type AutocompleteProps< |
|
|
|
|
|
|
|
|
|
|
|
const GrowPaper = (paperProps: MUIPaperProps): JSX.Element => ( |
|
|
|
const GrowPaper = (paperProps: MUIPaperProps): JSX.Element => ( |
|
|
|
<MUIGrow in> |
|
|
|
<MUIGrow in> |
|
|
|
{/* eslint-disable-next-line react/jsx-props-no-spreading */} |
|
|
|
|
|
|
|
<MUIPaper {...paperProps} /> |
|
|
|
<MUIPaper {...paperProps} /> |
|
|
|
</MUIGrow> |
|
|
|
</MUIGrow> |
|
|
|
); |
|
|
|
); |
|
|
@ -103,7 +102,6 @@ const Autocomplete = < |
|
|
|
|
|
|
|
|
|
|
|
extendRenderInput?.call(null, inputWithLabelProps, renderInputParams); |
|
|
|
extendRenderInput?.call(null, inputWithLabelProps, renderInputParams); |
|
|
|
|
|
|
|
|
|
|
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
|
|
|
|
|
|
return <OutlinedInputWithLabel {...inputWithLabelProps} />; |
|
|
|
return <OutlinedInputWithLabel {...inputWithLabelProps} />; |
|
|
|
}); |
|
|
|
}); |
|
|
|
const combinedSx = { |
|
|
|
const combinedSx = { |
|
|
@ -122,7 +120,6 @@ const Autocomplete = < |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<Box sx={{ display: 'flex', flexDirection: 'column' }}> |
|
|
|
<Box sx={{ display: 'flex', flexDirection: 'column' }}> |
|
|
|
<MUIAutocomplete |
|
|
|
<MUIAutocomplete |
|
|
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
|
|
|
|
|
|
{...{ |
|
|
|
{...{ |
|
|
|
PaperComponent: GrowPaper, |
|
|
|
PaperComponent: GrowPaper, |
|
|
|
...autocompleteRestProps, |
|
|
|
...autocompleteRestProps, |
|
|
@ -131,7 +128,6 @@ const Autocomplete = < |
|
|
|
sx: combinedSx, |
|
|
|
sx: combinedSx, |
|
|
|
}} |
|
|
|
}} |
|
|
|
/> |
|
|
|
/> |
|
|
|
{/* eslint-disable-next-line react/jsx-props-no-spreading */} |
|
|
|
|
|
|
|
<InputMessageBox {...messageBoxProps} /> |
|
|
|
<InputMessageBox {...messageBoxProps} /> |
|
|
|
</Box> |
|
|
|
</Box> |
|
|
|
); |
|
|
|
); |
|
|
|