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(
|
return SizedBox(
|
||||||
width: ipWidth,
|
width: ipWidth,
|
||||||
child: SpecialTextField(
|
child: SpecialTextField(
|
||||||
keyboardType: ipOnly ? TextInputType.numberWithOptions(decimal: true) : null,
|
keyboardType: ipOnly ? TextInputType.numberWithOptions(decimal: true, signed: true) : null,
|
||||||
textAlign: textAlign,
|
textAlign: textAlign,
|
||||||
autofocus: autoFocus,
|
autofocus: autoFocus,
|
||||||
focusNode: focusNode,
|
focusNode: focusNode,
|
||||||
|
|
Loading…
Reference in New Issue