>>> yup for email & url validation, fixed minor err in error msgs

This commit is contained in:
Joel Biddle
2023-08-24 12:59:24 +10:00
parent 7ec00475c6
commit 368855a44e
13 changed files with 61 additions and 9 deletions
+3 -1
View File
@@ -29,13 +29,15 @@ import { fetchOrganizations } from "@app/hooks/api/organization/queries";
const client = new jsrp.client();
type Errors = {
length?: string;
tooShort?: string;
tooLong?: string;
upperCase?: string;
lowerCase?: string;
number?: string;
specialChar?: string;
repeatedChar?: string;
isEmail?: string;
isUrl?: string;
breachedPassword?: string;
};