Made minimum variable name 2 characters long

This commit is contained in:
Thaum Rystra
2020-05-28 21:26:31 +02:00
parent 36c23e1eb5
commit d4804e5292
3 changed files with 5 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ let AttributeSchema = new SimpleSchema({
variableName: {
type: String,
regEx: VARIABLE_NAME_REGEX,
min: 3,
min: 2,
defaultValue: 'newAttribute',
},
// How it is displayed and computed is determined by type