Open mike-lerch opened 1 year ago
The MSON Demo Form Builder exports integer fields like this:
{ "name": "test", "label": "test", "minValue": "1", "maxValue": "60", "component": "IntegerField" }
Note that minValue and maxValue are strings and not integers. This can cause some confusing results if this is used as-is because integers will be compared to strings with unexpected validation errors.
It should produce output like this:
{ "name": "test", "label": "test", "minValue": 1, "maxValue": 60, "component": "IntegerField" }
The MSON Demo Form Builder exports integer fields like this:
Note that minValue and maxValue are strings and not integers. This can cause some confusing results if this is used as-is because integers will be compared to strings with unexpected validation errors.
It should produce output like this: