diff --git a/packages/ra-input-rich-text/src/index.js b/packages/ra-input-rich-text/src/index.js index f12d29bff57..5a0a209d0a2 100644 --- a/packages/ra-input-rich-text/src/index.js +++ b/packages/ra-input-rich-text/src/index.js @@ -71,7 +71,7 @@ export class RichTextInput extends Component { className="ra-rich-text-input" >
- {error && {error}} + {error && {error}} {helperText && {helperText}} ); diff --git a/packages/ra-ui-materialui/src/input/CheckboxGroupInput.js b/packages/ra-ui-materialui/src/input/CheckboxGroupInput.js index bc07654bb96..79731da11af 100644 --- a/packages/ra-ui-materialui/src/input/CheckboxGroupInput.js +++ b/packages/ra-ui-materialui/src/input/CheckboxGroupInput.js @@ -177,7 +177,8 @@ export class CheckboxGroupInput extends Component { /> {choices.map(this.renderCheckbox)} - {touched && error && {error}} + {touched && + error && {error}} {helperText && {helperText}} ); diff --git a/packages/ra-ui-materialui/src/input/RadioButtonGroupInput.js b/packages/ra-ui-materialui/src/input/RadioButtonGroupInput.js index a4d756e037b..b53f3ec8d5a 100644 --- a/packages/ra-ui-materialui/src/input/RadioButtonGroupInput.js +++ b/packages/ra-ui-materialui/src/input/RadioButtonGroupInput.js @@ -159,7 +159,8 @@ export class RadioButtonGroupInput extends Component { > {choices.map(this.renderRadioButton)} - {touched && error && {error}} + {touched && + error && {error}} {helperText && {helperText}} ); diff --git a/packages/ra-ui-materialui/src/input/SelectArrayInput.js b/packages/ra-ui-materialui/src/input/SelectArrayInput.js index f9a9b8207ba..2ef0398a347 100644 --- a/packages/ra-ui-materialui/src/input/SelectArrayInput.js +++ b/packages/ra-ui-materialui/src/input/SelectArrayInput.js @@ -232,7 +232,8 @@ export class SelectArrayInput extends Component { > {choices.map(this.renderMenuItem)} - {touched && error && {error}} + {touched && + error && {error}} {helperText && {helperText}} );