diff --git a/packages/admin-ui/src/components/inputs/base/Autocomplete.jsx b/packages/admin-ui/src/components/inputs/base/Autocomplete.jsx index 981a793c..5769c53b 100644 --- a/packages/admin-ui/src/components/inputs/base/Autocomplete.jsx +++ b/packages/admin-ui/src/components/inputs/base/Autocomplete.jsx @@ -81,20 +81,18 @@ const Autocomplete = ({ clearOnEscape isOptionEqualToValue={R.eqProps(valueProp)} {...props} - renderInput={params => { - return ( - - ) - }} + renderInput={params => ( + + )} renderOption={(iprops, props) => { if (!props.warning && !props.warningMessage) return
  • {R.path([labelProp])(props)}
  • diff --git a/packages/admin-ui/src/components/inputs/base/TextInput.jsx b/packages/admin-ui/src/components/inputs/base/TextInput.jsx index 3736d7d1..c4680231 100644 --- a/packages/admin-ui/src/components/inputs/base/TextInput.jsx +++ b/packages/admin-ui/src/components/inputs/base/TextInput.jsx @@ -20,6 +20,7 @@ const TextInput = memo( size, bold, className, + inputProps, InputProps, ...props }) => { @@ -63,8 +64,7 @@ const TextInput = memo( }, ...InputProps, }, - - htmlInput: { style: { textAlign } }, + htmlInput: { style: { textAlign }, ...inputProps }, }} /> )