fixed new sample material group/supplier autocomplete, template refresh after changes, template array input

This commit is contained in:
VLE2FE
2020-08-10 14:28:17 +02:00
parent c072df74e5
commit c2f5aaff8d
6 changed files with 21 additions and 11 deletions

View File

@ -122,6 +122,7 @@ export class ValidationService {
const {ignore, error} = Joi.string()
.max(128)
.invalid('condition_template', 'material_template')
.allow('')
.pattern(/^[^.]+$/)
.required()
.messages({'string.pattern.base': 'name must not contain a dot'})