Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
joanpablo committed Mar 29, 2024
2 parents f839d7d + 18243cf commit 7e07a41
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/src/widgets/reactive_text_field.dart
Original file line number Diff line number Diff line change
Expand Up @@ -292,4 +292,12 @@ class _ReactiveTextFieldState<T>
: TextEditingController();
_textController.text = initialValue == null ? '' : initialValue.toString();
}

@override
void dispose() {
if (widget.textController == null) {
_textController.dispose();
}
super.dispose();
}
}

0 comments on commit 7e07a41

Please sign in to comment.