fix: update form methods when username is updated#5403
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Contributor
|
Opened a PR against this branch @ #5405 with a couple of improvements RHF wise. |
Contributor
Author
|
@emrysal there are few issues in the PR after you merged.
|
Contributor
Author
|
@emrysal everything working fine now 👍 |
emrysal
approved these changes
Nov 8, 2022
haffla
pushed a commit
to tourlane/cal.com
that referenced
this pull request
Nov 22, 2022
* fix: update form methods when username is updated * Using RHF to decrease state logic in profile.tsx for UsernameAvailability (calcom#5405) * Type fixes & fixed onboarding * Removed undefined allowed value + removed invalidation * No longer need usernameRef.current.value Co-authored-by: Alex van Andel <me@alexvanandel.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes: #5401
Video:-
Screen.Recording.2022-11-07.at.10.58.51.PM.mov
How to reproduce bug:-
https://threads.com/34432980734?s=ucqt4HpZQcM3tsQmy5m8G5