Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3246879
D5788.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
689 B
Referenced Files
None
Subscribers
None
D5788.diff
View Options
diff --git a/web/settings/password-change-modal.js b/web/settings/password-change-modal.js
--- a/web/settings/password-change-modal.js
+++ b/web/settings/password-change-modal.js
@@ -115,7 +115,12 @@
type="submit"
variant="filled"
onClick={this.onSubmit}
- disabled={inputDisabled}
+ disabled={
+ inputDisabled ||
+ this.state.currentPassword.length === 0 ||
+ this.state.newPassword.length === 0 ||
+ this.state.confirmNewPassword.length === 0
+ }
>
Change Password
</Button>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 2:16 AM (21 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2496113
Default Alt Text
D5788.diff (689 B)
Attached To
Mode
D5788: [web] Disable 'change password' button until text inputs are not empty
Attached
Detach File
Event Timeline
Log In to Comment