mirror of https://github.com/vector-im/riot-web
lowercase username placeholder in Password Login and Registration Form
parent
a1351ea1cd
commit
6f6e850075
|
@ -357,6 +357,7 @@ export default class PasswordLogin extends React.PureComponent<IProps, IState> {
|
|||
key="username_input"
|
||||
type="text"
|
||||
label={_t("Username")}
|
||||
placeholder={_t("Username").toLocaleLowerCase()}
|
||||
value={this.props.username}
|
||||
onChange={this.onUsernameChanged}
|
||||
onFocus={this.onUsernameFocus}
|
||||
|
|
|
@ -522,6 +522,7 @@ export default class RegistrationForm extends React.PureComponent<IProps, IState
|
|||
type="text"
|
||||
autoFocus={true}
|
||||
label={_t("Username")}
|
||||
placeholder={_t("Username").toLocaleLowerCase()}
|
||||
value={this.state.username}
|
||||
onChange={this.onUsernameChange}
|
||||
onValidate={this.onUsernameValidate}
|
||||
|
|
Loading…
Reference in New Issue