mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-11 18:36:11 +02:00
more about allow -
This commit is contained in:
parent
33b47dd6e3
commit
356adbcd8c
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue