mirror of
https://github.com/DefinedNet/mobile_nebula.git
synced 2025-09-07 19:46:06 +00:00
Default text field enabled to true
This commit is contained in:
parent
1b8449fb42
commit
8d40bd70d7
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ class _SpecialTextFieldState extends State<SpecialTextField> {
|
|||
autofocus: widget.autofocus,
|
||||
focusNode: widget.focusNode,
|
||||
onChanged: widget.onChanged,
|
||||
enabled: widget.enabled ?? false, // TODO: maybe there's a better way to do this? widget.enabled is nullable, should it be?
|
||||
enabled: widget.enabled ?? true,
|
||||
onSubmitted: (_) {
|
||||
if (widget.nextFocusNode != null) {
|
||||
FocusScope.of(context).requestFocus(widget.nextFocusNode);
|
||||
|
|
Loading…
Add table
Reference in a new issue