From 5cc41f1129cb84b2f27e0b154743e01c3f9ff300 Mon Sep 17 00:00:00 2001 From: John Maguire Date: Wed, 10 May 2023 16:43:27 -0400 Subject: [PATCH] Allow IP address entry on non-US locales (#114) --- lib/components/IPField.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/components/IPField.dart b/lib/components/IPField.dart index 0abadd3..d08b530 100644 --- a/lib/components/IPField.dart +++ b/lib/components/IPField.dart @@ -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,