Skip to content

Commit

Permalink
Merge pull request #3890 from tdeo/patch-3
Browse files Browse the repository at this point in the history
Autocomplete defaults to margin="dense" prop
  • Loading branch information
fzaninotto authored Oct 29, 2019
2 parents 54c34d3 + 3a73a9a commit 94171fc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/ra-ui-materialui/src/input/AutocompleteInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ const AutocompleteInput: FunctionComponent<
isRequired: isRequiredOverride,
label,
limitChoicesToValue,
margin,
margin = 'dense',
matchSuggestion,
meta: metaOverride,
onBlur,
Expand Down Expand Up @@ -326,7 +326,6 @@ const AutocompleteInput: FunctionComponent<
<TextField
id={id}
name={input.name}
fullWidth
InputProps={{
inputRef: storeInputRef,
classes: {
Expand Down

0 comments on commit 94171fc

Please sign in to comment.