From 8d40bd70d73680e6e976fb0f14004e34ecaf073f Mon Sep 17 00:00:00 2001 From: Ian VanSchooten Date: Fri, 20 Sep 2024 12:54:28 -0400 Subject: [PATCH] Default text field enabled to true --- lib/components/SpecialTextField.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/components/SpecialTextField.dart b/lib/components/SpecialTextField.dart index 54ddf45..aa4f645 100644 --- a/lib/components/SpecialTextField.dart +++ b/lib/components/SpecialTextField.dart @@ -90,7 +90,7 @@ class _SpecialTextFieldState extends State { 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);