forked from core/mobile_nebula
Allow IP address entry on non-US locales (#114)
This commit is contained in:
parent
4bbd6c01ea
commit
5cc41f1129
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue