Trim whitespace in email field (#9027)
Signed-off-by: ankur12-1610 <anknerd.12@gmail.com>
This commit is contained in:
parent
cc8d78d971
commit
483ea9bf77
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ export default class RegistrationForm extends React.PureComponent<IProps, IState
|
||||||
|
|
||||||
private onEmailChange = ev => {
|
private onEmailChange = ev => {
|
||||||
this.setState({
|
this.setState({
|
||||||
email: ev.target.value,
|
email: ev.target.value.trim(),
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue