mirror of
https://github.com/wassname/talk.git
synced 2026-07-11 09:11:54 +08:00
Changes
This commit is contained in:
@@ -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 }
|
||||
)}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user