Skip to content

Commit

Permalink
Zone Number and Ward Number Validation Change
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivankShuklaa committed Sep 2, 2024
1 parent a11b59e commit 0414abc
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ export const newConfig1=[
"label": "BPA_WARD_NUMBER_LABEL",
"type": "text",
"validation": {
"pattern": "^[a-zA-Z0-9/]+$",
"pattern": "^[a-zA-Z0-9]*$",
"title": "Special Character are not allowed",
"required": true
},
"name": "wardnumber"
Expand All @@ -64,23 +65,23 @@ export const newConfig1=[
"label": "BPA_ZONE_NUMBER_LABEL",
"type": "text",
"validation": {
"pattern": "^[a-zA-Z0-9/]+$",
"pattern": "^[a-zA-Z0-9]*$",
"required": false},
"name": "zonenumber"
},
{
"label": "BPA_KHASRA_NUMBER_LABEL",
"type": "text",
"validation": {
"pattern": "^[a-zA-Z0-9/]",
"pattern": "^[a-zA-Z0-9/]*$",
"required": true},
"name": "khasraNumber"
},
{
"label": "BPA_ARCHITECT_ID",
"type": "text",
"validation": {
"pattern": "^[a-zA-Z0-9/]",
"pattern": "^[a-zA-Z0-9/]*$",
"required": true},
"name": "architectid"
},
Expand Down

0 comments on commit 0414abc

Please sign in to comment.