Skip to content

Commit ed1afe3

Browse files
Merge pull request #6304 from topcoder-platform/pass-placeholder
Fix new password placeholder
2 parents 3428790 + 1c49e66 commit ed1afe3

File tree

1 file changed

+2
-2
lines changed
  • src/shared/components/Settings/Account/MyAccount

1 file changed

+2
-2
lines changed

src/shared/components/Settings/Account/MyAccount/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ export default class MyAccount extends ConsentComponent {
782782
<div styleName="field col-2">
783783
<div styleName="validation-bar" className="form-field">
784784
<div styleName={`password toggle-password ${focus['new-password-input'] ? 'focus' : ''}`}>
785-
<input id="new-password-input" styleName="password-input" ref={this.newPasswordRef} onChange={this.checkPassword} onFocus={this.onPasswordFocus} onBlur={this.onPasswordBlur} name="password" type={passwordInputType['new-password-input']} placeholder="RE-TYPE YOUR NEW PASSWORD" minLength="8" maxLength="64" required />
785+
<input id="new-password-input" styleName="password-input" ref={this.newPasswordRef} onChange={this.checkPassword} onFocus={this.onPasswordFocus} onBlur={this.onPasswordBlur} name="password" type={passwordInputType['new-password-input']} placeholder="TYPE YOUR NEW PASSWORD" minLength="8" maxLength="64" required />
786786
<label htmlFor="newPasswordCheckbox" styleName="passwordCheckbox">
787787
<input type="checkbox" id="newPasswordCheckbox" styleName="newPasswordCheckbox" onChange={() => this.toggleTypeAttribute('new-password-input')} />
788788
Show
@@ -818,7 +818,7 @@ export default class MyAccount extends ConsentComponent {
818818
<div styleName="field col-2">
819819
<div styleName="validation-bar" className="form-field">
820820
<div styleName={`password toggle-password ${focus['re-new-password-input'] ? 'focus' : ''}`}>
821-
<input id="re-new-password-input" styleName="password-input" ref={this.reNewPasswordRef} onChange={this.checkPassword} onFocus={this.onPasswordFocus} onBlur={this.onPasswordBlur} name="re-password" type={passwordInputType['re-new-password-input']} placeholder="TYPE YOUR NEW PASSWORD" minLength="8" maxLength="64" required />
821+
<input id="re-new-password-input" styleName="password-input" ref={this.reNewPasswordRef} onChange={this.checkPassword} onFocus={this.onPasswordFocus} onBlur={this.onPasswordBlur} name="re-password" type={passwordInputType['re-new-password-input']} placeholder="RE-TYPE YOUR NEW PASSWORD" minLength="8" maxLength="64" required />
822822
<label htmlFor="reNewPasswordCheckbox" styleName="passwordCheckbox">
823823
<input type="checkbox" id="reNewPasswordCheckbox" styleName="newPasswordCheckbox" onChange={() => this.toggleTypeAttribute('re-new-password-input')} />
824824
Show

0 commit comments

Comments
 (0)