3
0
Fork 0

Allow IP address entry on non-US locales (#114)

This commit is contained in:
John Maguire 2023-05-10 16:43:27 -04:00 committed by GitHub
parent 4bbd6c01ea
commit 5cc41f1129
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class IPField extends StatelessWidget {
return SizedBox(
width: ipWidth,
child: SpecialTextField(
keyboardType: ipOnly ? TextInputType.numberWithOptions(decimal: true) : null,
keyboardType: ipOnly ? TextInputType.numberWithOptions(decimal: true, signed: true) : null,
textAlign: textAlign,
autofocus: autoFocus,
focusNode: focusNode,