fix ( issue
This commit is contained in:
parent
d8bb3384d9
commit
eac83438e1
@ -129,9 +129,9 @@ class _PasswordWidgetState extends State<PasswordWidget> {
|
||||
Widget build(BuildContext context) {
|
||||
return TextField(
|
||||
autofocus: true,
|
||||
keyboardType: TextInputType.text,
|
||||
controller: widget.controller,
|
||||
obscureText: !_passwordVisible, //This will obscure text dynamically
|
||||
keyboardType: TextInputType.visiblePassword,
|
||||
decoration: InputDecoration(
|
||||
labelText: 'Password',
|
||||
hintText: 'Enter your password',
|
||||
|
@ -145,13 +145,14 @@ class _HomePageState extends State<HomePage> {
|
||||
child: TextField(
|
||||
autocorrect: false,
|
||||
enableSuggestions: false,
|
||||
keyboardType: TextInputType.visiblePassword,
|
||||
// keyboardType: TextInputType.number,
|
||||
style: TextStyle(
|
||||
fontFamily: 'WorkSans',
|
||||
fontWeight: FontWeight.bold,
|
||||
fontSize: 30,
|
||||
color: Color(0xFF00B6F0),
|
||||
),
|
||||
// keyboardType: TextInputType.number,
|
||||
decoration: InputDecoration(
|
||||
labelText: 'Remote ID',
|
||||
// hintText: 'Enter your remote ID',
|
||||
|
@ -317,7 +317,8 @@ class _RemotePageState extends State<RemotePage> {
|
||||
maxLines: null,
|
||||
initialValue:
|
||||
_value, // trick way to make backspace work always
|
||||
keyboardType: TextInputType.multiline,
|
||||
keyboardType: TextInputType
|
||||
.visiblePassword, // must use visiblePassword here, if else when input '(', new ')' will be auto appended on android, cause our proboems
|
||||
onChanged: handleInput,
|
||||
),
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user