|
|
|
@ -449,6 +449,7 @@ export class RegistrationTabs extends React.Component<{}, State> {
|
|
|
|
|
type="text"
|
|
|
|
|
placeholder={window.i18n('enterDisplayName')}
|
|
|
|
|
value={this.state.displayName}
|
|
|
|
|
maxLength={window.CONSTANTS.maxUsernameLength}
|
|
|
|
|
onValueChanged={(val: string) => {
|
|
|
|
|
this.onDisplayNameChanged(val);
|
|
|
|
|
}}
|
|
|
|
@ -462,6 +463,7 @@ export class RegistrationTabs extends React.Component<{}, State> {
|
|
|
|
|
error={this.state.passwordErrorString}
|
|
|
|
|
type="password"
|
|
|
|
|
placeholder={window.i18n('enterOptionalPassword')}
|
|
|
|
|
maxLength={window.CONSTANTS.maxPasswordLength}
|
|
|
|
|
onValueChanged={(val: string) => {
|
|
|
|
|
this.onPasswordChanged(val);
|
|
|
|
|
}}
|
|
|
|
@ -475,6 +477,7 @@ export class RegistrationTabs extends React.Component<{}, State> {
|
|
|
|
|
error={passwordsDoNotMatch}
|
|
|
|
|
type="password"
|
|
|
|
|
placeholder={window.i18n('optionalPassword')}
|
|
|
|
|
maxLength={window.CONSTANTS.maxPasswordLength}
|
|
|
|
|
onValueChanged={(val: string) => {
|
|
|
|
|
this.onPasswordVerifyChanged(val);
|
|
|
|
|
}}
|
|
|
|
|