From c9f5b3a11897ec1a1b7e69869f5a82a4dbe3aaa5 Mon Sep 17 00:00:00 2001 From: Jacques Doeleman Date: Thu, 13 Oct 2022 16:27:37 +0200 Subject: [PATCH] Fixed call of onchanged on date picker --- .../widgets/input/input_types/input_date_picker/date_picker.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/widgets/input/input_types/input_date_picker/date_picker.dart b/lib/src/widgets/input/input_types/input_date_picker/date_picker.dart index e308ea3..03eb5cc 100644 --- a/lib/src/widgets/input/input_types/input_date_picker/date_picker.dart +++ b/lib/src/widgets/input/input_types/input_date_picker/date_picker.dart @@ -133,6 +133,7 @@ class _DateInputFieldState extends ConsumerState { userInput != '' ? userInput : widget.controller.value; }); }, + onChanged: (value) => widget.controller.onChanged?.call(value), validator: (value) => widget.controller.onValidate(value, _), decoration: InputDecoration( suffixIcon: widget.showIcon ? Icon(widget.icon) : null,