This commit is contained in:
okbel
2018-05-02 18:48:52 -03:00
parent 09d20257ac
commit cdae2796a5
2 changed files with 2 additions and 2 deletions
@@ -42,7 +42,7 @@ const AddEmailContent = ({ formData, errors, showErrors, confirmChanges }) => (
onChange={this.onChange}
defaultValue=""
hasError={!formData.emailAddress || errors.emailAddress}
errorMsg={errors.emailAddress}
errorMsg={'Invalid email address'}
showError={showErrors}
columnDisplay
showSuccess={false}
@@ -43,7 +43,7 @@ const InputField = ({
<div
className={cn(
styles.detailItemContent,
{ [styles.error]: hasError },
{ [styles.error]: hasError && showError },
{ [styles.disabled]: disabled }
)}
>