fix: validation on profile page (#398)
* fix validation of username and fullname * fix * fix message * Update validator.js * Update Profile.svelte * remove unused functions --------- Co-authored-by: Rotimi Best <best@classroomio.com>
This commit is contained in:
co-authored by
Rotimi Best
parent
1f91299544
commit
7a2954faba
@@ -1329,7 +1329,9 @@
|
||||
|
||||
"validations": {
|
||||
"user_profile": {
|
||||
"email": "Invalid email address"
|
||||
"email": "Invalid email address",
|
||||
"username":"Username cannot be empty",
|
||||
"fullname":"Name should be minimum of 5 characters"
|
||||
},
|
||||
"organization_name": {
|
||||
"min_char": "Organization must contain 5 or more characters",
|
||||
|
||||
Reference in New Issue
Block a user