-
Notifications
You must be signed in to change notification settings - Fork 412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add field validation to resolve the Update Profile Issue #8809
base: develop
Are you sure you want to change the base?
Add field validation to resolve the Update Profile Issue #8809
Conversation
✅ Deploy Preview for care-ohc ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
…t for cleaner comparison logic
…vidSumra/care_fe into issues/8804/profile-update-validation
@JavidSumra fix the failing cypress test |
Hi @nihal467 Sir, I ran all the test cases locally, and only one test case from the |
Proposed Changes
This PR introduces logic to disable the "Update" button on the profile update page when no changes are detected in the form fields. The useMemo hook compares the current form values with the user's existing data and detects any modifications.
@ohcnetwork/care-fe-code-reviewers
Demo Video
Click here to watch the demo video
Merge Checklist