Add validation for label name and color.

This commit is contained in:
takezoe
2013-06-26 02:11:19 +09:00
parent f335d30ac7
commit e334570670
2 changed files with 6 additions and 4 deletions

View File

@@ -19,6 +19,8 @@ trait Validations {
}
}
def color = pattern("#[0-9a-fA-F]{6}")
/**
* ValueType for the java.util.Date property.
*/