Skip to content

Commit

Permalink
Update vehicle number format
Browse files Browse the repository at this point in the history
  • Loading branch information
vinothrallapalli-eGov authored Aug 13, 2024
1 parent df634f3 commit 335db24
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const VehicleConfig = (t, disabled = false) => {
name: "registrationNumber",
ValidationRequired: true,
validation: {
pattern: `[A-Z]{2}[0-9]{2}[A-Z]{0,2}[0-9]{4}`,
pattern: `[A-Z]{2}\\s{1}[0-9]{2}\\s{0,1}[A-Z]{1,2}\\s{1}[0-9]{4}`,
title: t("ES_FSM_VEHICLE_FORMAT_TIP"),
},
error: t("FSM_REGISTRY_INVALID_REGISTRATION_NUMBER"),
Expand Down

0 comments on commit 335db24

Please sign in to comment.