1
0
Fork 0

ui: install new service - field limitations (#5515)

This commit is contained in:
Heiko 2018-06-07 12:54:51 +02:00 committed by Jan
parent 902a980389
commit b00eb1aa62
3 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
v3.3.11 (2018-XX-XX)
--------------------
* fixed internal issue #2163: wrong labels within foxx validation of service
input parameters
v3.3.10 (2018-06-04)
--------------------

View File

@ -106,7 +106,7 @@
return [
{
rule: Joi.string().required().regex(/^[a-zA-Z\-_][a-zA-Z0-9\-_]*$/),
msg: "Can only contain a to z, A to Z, 0-9, '-' and '_'."
msg: "Can only contain a to z, A to Z, 0-9, '-' and '_'. Cannot start with a number."
}
];
}
@ -130,7 +130,7 @@
return [
{
rule: Joi.string().required().regex(/^[a-zA-Z0-9 .,;-]+$/),
msg: 'Has to be non empty.'
msg: "Can only contain a to z, A to Z, 0-9, '-', '.', ',' and ';'."
}
];
}

View File

@ -126,7 +126,7 @@
return [
{
rule: Joi.string().required().regex(/^[a-zA-Z\-_][a-zA-Z0-9\-_]*$/),
msg: "Can only contain a to z, A to Z, 0-9, '-' and '_'."
msg: "Can only contain a to z, A to Z, 0-9, '-' and '_'. Cannot start with a number."
}
];
}
@ -150,7 +150,7 @@
return [
{
rule: Joi.string().required().regex(/^[a-zA-Z0-9 .,;-]+$/),
msg: 'Has to be non empty.'
msg: "Can only contain a to z, A to Z, 0-9, '-', '.', ',' and ';'."
}
];
}