Hi all,
it’s about Camunda Modeler 5.0.0 and Platform v7.16.0:
I defined a form with a restricted numeric field:
The validation works fine for values 13, 12, …, 1, -1 and even empty value, but the value 0 is not rejected.
This might be a bug?
Hi all,
it’s about Camunda Modeler 5.0.0 and Platform v7.16.0:
I defined a form with a restricted numeric field:
The validation works fine for values 13, 12, …, 1, -1 and even empty value, but the value 0 is not rejected.
This might be a bug?
Hi Niall,
thanks for your quick response. Here is the form code:
{
"components": [
{
"text": "# Self Defined Form\n### Used for sanity test with Camunda tasklist",
"type": "text",
"id": "Field_1lxpnoq"
},
{
"label": "Sum of two dice",
"type": "number",
"id": "Field_0tyew3z",
"key": "vers",
"validate": {
"required": true,
"min": 2,
"max": 12
},
"properties": {
"key1": "value"
},
"disabled": false
},
{
"label": "Complete-Checkbox",
"type": "checkbox",
"id": "Field_1s9xa5k",
"key": "field_0edii13",
"description": "Did you like the game?",
"disabled": false
},
{
"values": [
{
"label": "cool",
"value": "Camunda"
},
{
"label": "hot",
"value": "40°C"
}
],
"label": "Select",
"type": "select",
"id": "Field_06oeioy",
"key": "name",
"defaultValue": "<none>"
},
{
"label": "Final text",
"type": "textfield",
"id": "Field_0a2gqzl",
"key": "surname",
"description": "just for sanity test",
"defaultValue": "default",
"validate": {
"maxLength": 10
}
}
],
"type": "default",
"id": "RFsanityUserTask",
"exporter": {
"name": "Camunda Modeler",
"version": "5.0.0"
},
"executionPlatform": "Camunda Platform",
"executionPlatformVersion": "7.16.0",
"schemaVersion": 4
}