Skip to content

Commit

Permalink
fix: change DateTime Picker behavior when InputType==both
Browse files Browse the repository at this point in the history
  • Loading branch information
geronimol committed Dec 18, 2024
1 parent f39fa6d commit e7b3f94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/fields/form_builder_date_time_picker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ class _FormBuilderDateTimePickerState extends FormBuilderFieldDecorationState<
if (date != null) {
if (!mounted) break;
final time = await _showTimePicker(currentValue);
if(time == null) {
if (time == null) {
newValue = null;
} else {
newValue = combine(date, time);
Expand Down

0 comments on commit e7b3f94

Please sign in to comment.