[Password layout changes] [Package upgrades]
This commit is contained in:
@@ -30,4 +30,5 @@ input.PasswordInput {
|
||||
.PasswordLink {
|
||||
margin-right: var(--default_spacing);
|
||||
cursor: pointer;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ export default class extends Component {
|
||||
this.props.changed(this.state.password);
|
||||
this.setState({
|
||||
...this.state,
|
||||
button_text: 'clear',
|
||||
button_text: this.state.password && this.state.password.length > 0 ? 'clear' : 'set',
|
||||
password2: '',
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user