Community Forum

Ask a Question
Back to All

number component bug

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.