Skip to content

Commit

Permalink
Merge pull request #3855 from marmelab/fix-autocomplete-label
Browse files Browse the repository at this point in the history
Fix AutocompleteInput does not use custom label
  • Loading branch information
ThieryMichel authored Oct 22, 2019
2 parents 4e50864 + e97b1dd commit e3f6732
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/ra-ui-materialui/src/input/AutocompleteInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ const AutocompleteInput: FunctionComponent<
id: idOverride,
input: inputOverride,
isRequired: isRequiredOverride,
label,
limitChoicesToValue,
margin,
matchSuggestion,
Expand Down Expand Up @@ -347,6 +348,7 @@ const AutocompleteInput: FunctionComponent<
}}
label={
<FieldTitle
label={label}
{...labelProps}
source={source}
resource={resource}
Expand Down

0 comments on commit e3f6732

Please sign in to comment.