node password+username field keyboard fixes

This commit is contained in:
julian 2023-03-27 16:08:40 -06:00
parent cb73cb6eaf
commit 7a1b094eff

View file

@ -975,7 +975,6 @@ class _NodeFormState extends ConsumerState<NodeForm> {
controller: _usernameController, controller: _usernameController,
readOnly: shouldBeReadOnly, readOnly: shouldBeReadOnly,
enabled: enableField(_usernameController), enabled: enableField(_usernameController),
keyboardType: TextInputType.number,
focusNode: _usernameFocusNode, focusNode: _usernameFocusNode,
style: STextStyles.field(context), style: STextStyles.field(context),
decoration: standardInputDecoration( decoration: standardInputDecoration(
@ -1024,7 +1023,7 @@ class _NodeFormState extends ConsumerState<NodeForm> {
controller: _passwordController, controller: _passwordController,
readOnly: shouldBeReadOnly, readOnly: shouldBeReadOnly,
enabled: enableField(_passwordController), enabled: enableField(_passwordController),
keyboardType: TextInputType.number, obscureText: true,
focusNode: _passwordFocusNode, focusNode: _passwordFocusNode,
style: STextStyles.field(context), style: STextStyles.field(context),
decoration: standardInputDecoration( decoration: standardInputDecoration(