summaryrefslogtreecommitdiff
path: root/interface-definitions/include/generic-description.xml.i
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/include/generic-description.xml.i')
-rw-r--r--interface-definitions/include/generic-description.xml.i4
1 files changed, 4 insertions, 0 deletions
diff --git a/interface-definitions/include/generic-description.xml.i b/interface-definitions/include/generic-description.xml.i
index 03fc564e6..b030c2495 100644
--- a/interface-definitions/include/generic-description.xml.i
+++ b/interface-definitions/include/generic-description.xml.i
@@ -6,6 +6,10 @@
<format>txt</format>
<description>Description</description>
</valueHelp>
+ <constraint>
+ <regex>[[:ascii:]]{1,256}</regex>
+ </constraint>
+ <constraintErrorMessage>Description too long (limit 256 characters)</constraintErrorMessage>
</properties>
</leafNode>
<!-- include end -->