From 335db2433762a5d0ebcc2cca419f82d78e93d04d Mon Sep 17 00:00:00 2001 From: vinothrallapalli-eGov Date: Tue, 13 Aug 2024 14:00:05 +0530 Subject: [PATCH] Update vehicle number format --- .../modules/fsm/src/pages/employee/configs/VehicleConfig.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/configs/VehicleConfig.js b/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/configs/VehicleConfig.js index 4973ecb54fa..335890d060f 100644 --- a/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/configs/VehicleConfig.js +++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/configs/VehicleConfig.js @@ -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"),