Constraint for minLenght=3 and int accepted for e.g rue du 6 juin 1944

parent 988b1024
......@@ -40,8 +40,8 @@
"example": "Rue du Rempart",
"constraints": {
"required": true,
"minLength": 0,
"pattern": "[A-Za-z ]+"
"minLength": 3,
"pattern": "[A-Za-z 1-9]+"
}
},
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment