-
Notifications
You must be signed in to change notification settings - Fork 317
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
Admin profile validation #1047
Admin profile validation #1047
Conversation
…ubmission input should not get cleared if validaion is not matched and also question pop up should be closed if question is uploaded successfully fix issue HITK-TECH-Community#977
in admin profile username was not letting enter username which contain numbers or underscore and was giving the validation error now it is fixed now it take both underscore and number also fixes HITK-TECH-Community#1042
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ayushpatel1248 there are so many unnecessary change in this file that its hard to follow, please clean it up and only keep the required changes
@@ -109,6 +114,7 @@ function Ques(props) { | |||
}); | |||
setFormErrors({}); | |||
setCheckedState(new Array(Tags.length).fill(false)); | |||
setButtonPressed(false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this change again coming?
@Kajol-Kumari removed the unnecessary changes and kept only required changes , please check it out |
@ayushpatel1248 i don' see the second part of the issue in this pr - #1042 (comment) The username should come in profile detail like explained in the referred comment |
@Kajol-Kumari i have updated the code now validation of username is also perfect and also username is placed in profile |
Issue that this pull request solves
previously if we try ot update the admin profile username due to validation admin was not able to enter the numbers or _ in there validation
but now i have changed the validation and now admin can use number as well as _ in there username
Closes: #1042
Proposed changes
Types of changes
Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that applyScreenshots
Screen.Recording.2024-06-13.at.12.28.42.AM.mov