Password component
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
## 1.3.0
|
||||
* Skynet support
|
||||
* Synchronize UI major/minor version with `repertory` major/minor version
|
||||
* Added `Password` component
|
||||
|
||||
## 1.1.5
|
||||
* \#38: Enhance new repertory release available notification
|
||||
|
||||
@@ -114,14 +114,13 @@ export default class extends Component {
|
||||
onClick={this.handleActionClick}>
|
||||
<u>{this.state.button_text}</u>
|
||||
</a>
|
||||
<input
|
||||
onChange={this.handlePasswordChanged}
|
||||
onKeyUp={this.handlePasswordKeyUp}
|
||||
autoFocus={this.props.autoFocus}
|
||||
className={'PasswordInput'}
|
||||
disabled={this.props.readOnly || (this.state.button_text === 'clear')}
|
||||
type={this.state.show_password ? 'text' : 'password'}
|
||||
value={(this.state.button_text === 'confirm') ? this.state.password2 : this.state.password} />
|
||||
<input autoFocus={this.props.autoFocus}
|
||||
className={'PasswordInput'}
|
||||
disabled={this.props.readOnly || (this.state.button_text === 'clear')}
|
||||
onChange={this.handlePasswordChanged}
|
||||
onKeyUp={this.handlePasswordKeyUp}
|
||||
type={this.state.show_password ? 'text' : 'password'}
|
||||
value={(this.state.button_text === 'confirm') ? this.state.password2 : this.state.password} />
|
||||
<a href={'#'}
|
||||
className={'PasswordShowHide'}
|
||||
onClick={this.handleShowHideClick}>
|
||||
|
||||
Reference in New Issue
Block a user