Community Forum
number component bug
over 1 year ago by Albert
I've defined a component like this:
{
"type": "number",
"key": "alternative_mobile_number",
"outputPath": "alternative_mobile_number",
"label": "Alternative mobile number 2*",
"validators": [
{
"validation": {
"min": 609999999,
"type": "greaterThanNumber"
}
},
{
"validation": {
"max": 860000000,
"type": "lessThanNumber"
}
}
],
"props": {
"prefix": "0",
"colWidth": 6
}
},
When entering a 0 as the first digit I get redirected to a error page immediately:
Thanks. FYI: This was an attempt to build a cellphone number validation. As per my other forum post, support for that would help a lot.