[PR #585] [CLOSED] fix: disable update profile and password button when field value is not changed or updated #1064

Closed
opened 2026-02-26 19:31:40 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/585
Author: @anikdhabal
Created: 10/21/2023
Status: Closed

Base: feat/refreshHead: disbaled_button


📝 Commits (4)

  • a9f577e fix: small typo error
  • 8684dab fix: disble update profile button
  • fe2dfd3 fix: disble update profile button
  • e7c4295 fix: disabled button when field is unchanged

📊 Changes

2 files changed (+8 additions, -4 deletions)

View changed files

📝 apps/web/src/components/forms/password.tsx (+4 -2)
📝 apps/web/src/components/forms/profile.tsx (+4 -2)

📄 Description

The 'Update Profile' & 'Update Password' button is currently clickable even when no changes have been made to the fields. It should be disabled if any field values remain unchanged or not updated.

Now:-

Screenshot 2023-10-21 153451

Screenshot 2023-10-21 230938


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/documenso/documenso/pull/585 **Author:** [@anikdhabal](https://github.com/anikdhabal) **Created:** 10/21/2023 **Status:** ❌ Closed **Base:** `feat/refresh` ← **Head:** `disbaled_button` --- ### 📝 Commits (4) - [`a9f577e`](https://github.com/documenso/documenso/commit/a9f577ed19df9e1335b9349cf9687681790e8443) fix: small typo error - [`8684dab`](https://github.com/documenso/documenso/commit/8684dab1d3d28d1e351bfdc1b3334d8bee32bca3) fix: disble update profile button - [`fe2dfd3`](https://github.com/documenso/documenso/commit/fe2dfd34430da95467a495ba3837306191dc0835) fix: disble update profile button - [`e7c4295`](https://github.com/documenso/documenso/commit/e7c429549aa2f2404bcfbd87a4d6fa8a89603265) fix: disabled button when field is unchanged ### 📊 Changes **2 files changed** (+8 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `apps/web/src/components/forms/password.tsx` (+4 -2) 📝 `apps/web/src/components/forms/profile.tsx` (+4 -2) </details> ### 📄 Description The 'Update Profile' & 'Update Password' button is currently clickable even when no changes have been made to the fields. It should be disabled if any field values remain unchanged or not updated. Now:- ![Screenshot 2023-10-21 153451](https://github.com/documenso/documenso/assets/81948346/47e3bf88-dfb6-4e5b-bed6-6337feacf9d5) ![Screenshot 2023-10-21 230938](https://github.com/documenso/documenso/assets/81948346/6a7f929b-2fc8-45cc-bc68-ead868382c31) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 19:31:40 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#1064
No description provided.