}
handleLoginUsernameChange(i: Login, event: any) {
- i.state.form.username_or_email = event.target.value;
+ i.state.form.username_or_email = event.target.value.trim();
i.setState(i.state);
}
}
handleRegisterUsernameChange(i: Setup, event: any) {
- i.state.form.username = event.target.value;
+ i.state.form.username = event.target.value.trim();
i.setState(i.state);
}
}
handleRegisterUsernameChange(i: Signup, event: any) {
- i.state.form.username = event.target.value;
+ i.state.form.username = event.target.value.trim();
i.setState(i.state);
}