mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-13 03:28:03 +00:00
more about allow -
This commit is contained in:
@@ -71,7 +71,7 @@ void changeIdDialog() {
|
|||||||
final rules = [
|
final rules = [
|
||||||
RegexValidationRule('starts with a letter', RegExp(r'^[a-zA-Z]')),
|
RegexValidationRule('starts with a letter', RegExp(r'^[a-zA-Z]')),
|
||||||
LengthRangeValidationRule(6, 16),
|
LengthRangeValidationRule(6, 16),
|
||||||
RegexValidationRule('allowed characters', RegExp(r'^\w*$'))
|
RegexValidationRule('allowed characters', RegExp(r'^[\w-]*$'))
|
||||||
];
|
];
|
||||||
|
|
||||||
gFFI.dialogManager.show((setState, close, context) {
|
gFFI.dialogManager.show((setState, close, context) {
|
||||||
|
|||||||
Reference in New Issue
Block a user