Skip to content
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

fix: backend error clear on focus #116

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

ahtesham-quraish
Copy link
Contributor

Description

  • Clear Backend error if field is focused and error exists in redux

JIRA

VAN-2011

How Has This Been Tested?

  • it has been tested locally.

Description:
Backen error should clear on focus
VAN-2011
@ahtesham-quraish ahtesham-quraish merged commit a14d2e8 into master Jul 15, 2024
5 checks passed
@ahtesham-quraish ahtesham-quraish deleted the ahtesham/clear-backend-error branch July 15, 2024 05:45
@@ -233,6 +233,12 @@ const RegistrationForm = () => {
}));
};

const handleOnFocus = (e, name) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need to use e param?
It could be:

Suggested change
const handleOnFocus = (e, name) => {
const handleOnFocus = (name) => {

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.

3 participants