Skip to content

Commit

Permalink
Fix label prop not being passed to FieldTitle
Browse files Browse the repository at this point in the history
  • Loading branch information
m4theushw committed Nov 6, 2019
1 parent 08c3a40 commit 5c8335b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ const AutocompleteArrayInput: FunctionComponent<
id: idOverride,
input: inputOverride,
isRequired: isRequiredOverride,
label,
limitChoicesToValue,
margin,
matchSuggestion,
Expand Down Expand Up @@ -393,6 +394,7 @@ const AutocompleteArrayInput: FunctionComponent<
error={!!(touched && error)}
label={
<FieldTitle
label={label}
{...labelProps}
source={source}
resource={resource}
Expand Down

0 comments on commit 5c8335b

Please sign in to comment.