Skip to content

Commit

Permalink
Merge pull request #2392 from marmelab/fix-autocomplete-array-input-l…
Browse files Browse the repository at this point in the history
…abel

[RFR] Fix AutocompleteArrayInput label
  • Loading branch information
fzaninotto authored Oct 9, 2018
2 parents ad7abe1 + 3d4103f commit 93bc26e
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,14 @@ export class AutocompleteArrayInput extends React.Component {
error={touched && error}
helperText={touched && error && helperText}
chipRenderer={this.renderChip}
label={<FieldTitle label={label} />}
label={
<FieldTitle
label={label}
source={source}
resource={resource}
isRequired={isRequired}
/>
}
{...other}
{...options}
/>
Expand Down

0 comments on commit 93bc26e

Please sign in to comment.