Skip to content

Conversation

@LKorsar
Copy link
Contributor

@LKorsar LKorsar commented Jan 20, 2026

Added component ProfileEditForm.
This form gets current user data by tRPC procedure and prefills fields 'name', 'login', 'email'. Field current password was also added to form, but procedure on backend should be updated for accepting and verifying it.
Form has data validation.
User data is submiting and mutating by tRPC procedure. In case of success, user redirects to ProfilePageNew.
Form

…itForm gets data by tRPC, mutates user data also by tRPC. Form has data validation. In case of success submitting and updating data redirects to ProfilePageNew. Current user data extracts from Redux store, this should be replaced by tRPC procedure, when it would be implemented on backend. tRPC mutation procedure should be updated by adding current password, when it would be implemented on backend
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant