interfaces: match validation and mask in LAGG

This commit is contained in:
Franco Fichtner 2023-10-24 14:24:52 +02:00
parent dccf9143c2
commit 676e9581dd

View File

@ -62,7 +62,7 @@
<MaximumValue>65535</MaximumValue>
</mtu>
<descr type="TextField">
<Mask>/^([\t\n\v\f\r 0-9a-zA-Z.\-,_\x{00A0}-\x{FFFF}]){0,255}$/u</Mask>
<Mask>/^([\t\n\v\f\r 0-9a-zA-Z.\-,_\x{00A0}-\x{FFFF}]){1,255}$/u</Mask>
<ValidationMessage>Description should be a string between 1 and 255 characters</ValidationMessage>
</descr>
</lagg>