Skip to content

Commit

Permalink
Merge pull request #3327 from hithacker/master
Browse files Browse the repository at this point in the history
Fix AutoCompleteArrayInput not showing error message
  • Loading branch information
fzaninotto authored Jun 13, 2019
2 parents 2e72f1a + d9dace1 commit 69ebf6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ra-ui-materialui/src/input/AutocompleteArrayInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,8 @@ export class AutocompleteArrayInput extends React.Component {
onDelete={this.handleDelete}
value={this.getInputValue(input.value)}
inputRef={storeInputRef}
error={touched && error}
helperText={touched && error && helperText}
error={!!(touched && error)}
helperText={(touched && error) || helperText}
chipRenderer={this.renderChip}
label={
<FieldTitle
Expand Down

0 comments on commit 69ebf6b

Please sign in to comment.