Merge pull request #7166 from Budibase/fix/add-user-validation
Set errors to null rather than deleting when validating user emails
This commit is contained in:
commit
1e77697001
|
@ -48,7 +48,7 @@
|
|||
if (email) {
|
||||
const res = emailValidator(email)
|
||||
if (res === true) {
|
||||
delete userData[index].error
|
||||
userData[index].error = null
|
||||
} else {
|
||||
userData[index].error = res
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue