N°2328 TagSet : allow to create codes with 3 characters

(was wrongly 4 min before)
This commit is contained in:
Pierre Goiffon
2019-06-18 14:36:47 +02:00
parent 051656f295
commit 9e5d668c02

View File

@@ -57,7 +57,7 @@ abstract class TagSetFieldData extends cmdbAbstractObject
"default_value" => '',
"is_null_allowed" => false,
"depends_on" => array(),
"validation_pattern" => '^[a-zA-Z][a-zA-Z0-9]{3,}$',
"validation_pattern" => '^[a-zA-Z][a-zA-Z0-9]{2,}$',
)));
MetaModel::Init_AddAttribute(new AttributeString("label", array(
"allowed_values" => null,