autoFocus new password input in SetPasswordDialog

pull/3982/head
Luke Barnard 2017-05-22 14:45:40 +01:00
parent 219bfffea2
commit 5d712d27d3
1 changed files with 1 additions and 0 deletions

View File

@ -75,6 +75,7 @@ export default React.createClass({
rowInputClassName="" rowInputClassName=""
buttonClassName="mx_Dialog_primary mx_SetPasswordDialog_change_password_button" buttonClassName="mx_Dialog_primary mx_SetPasswordDialog_change_password_button"
confirm={false} confirm={false}
autoFocusNewPasswordInput={true}
onError={this._onPasswordChangeError} onError={this._onPasswordChangeError}
onFinished={this._onPasswordChanged} /> onFinished={this._onPasswordChanged} />
<div className="error"> <div className="error">