Skip to content

Commit

Permalink
fix(fe): Aligned FE validation with BE validation as per agreement (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mamartinezmejia committed Jul 12, 2024
1 parent b4aeaef commit 0128302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/helpers/validators/BCeIDFormValidations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ formFieldValidations["location.addresses.*.city"] = [
isNotEmpty("You must provide a city"),
isMinSize("The city name must be between 3 and 30 characters")(3),
isMaxSize("The city name must be between 3 and 30 characters")(30),
hasOnlyNamingCharacters("city name"),
isAscii("city name"),
];
formFieldValidations["location.addresses.*.streetAddress"] = [
isNotEmpty("Please provide a valid address or PO Box"),
Expand Down

0 comments on commit 0128302

Please sign in to comment.