mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-04 08:34:12 +00:00
more about allow -
This commit is contained in:
1 parent
33b47dd6e3
commit
356adbcd8c
1 file changed
+1
-1
@@ -71,7 +71,7 @@ void changeIdDialog() {
|
||||
final rules = [
|
||||
RegexValidationRule('starts with a letter', RegExp(r'^[a-zA-Z]')),
|
||||
LengthRangeValidationRule(6, 16),
|
||||
RegexValidationRule('allowed characters', RegExp(r'^\w*$'))
|
||||
RegexValidationRule('allowed characters', RegExp(r'^[\w-]*$'))
|
||||
];
|
||||
|
||||
gFFI.dialogManager.show((setState, close, context) {
|
||||
|
||||
Reference in new issue
Block a user