1
0
Fork 0

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

This commit is contained in:
Heiko 2018-06-07 12:55:00 +02:00 committed by Jan
parent eb9bf93c98
commit 28b54bd9f7
3 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,9 @@
devel
-----
* fixed internal issue #2163: wrong labels within foxx validation of service
input parameters
* Added exclusive option for rocksdb collections. Modifying AQL queries can
now set the exclusive option as well as it can be set on JavaScript transactions.

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 ';'."
}
];
}