Skip to content

Date picker not working #422

@Pavel401

Description

@Pavel401

Describe your issue

REC-20241227225009.mp4

When we pick a date in the past and then again try to add a new date, it just throws an error:
_AssertionError ('package:flutter/src/material/date_picker.dart': Failed assertion: line 197 pos 5: 'initialDate == null || !initialDate.isBefore(firstDate)': initialDate 2024-12-26 00:00:00.000 must be on or after firstDate 2024-12-27 00:00:00.000.)

Steps to reproduce

Add Task
Pick a past time
Then pick correct timethe

What was the expected result?

No response

Put here any screenshots or videos (optional)

No response

How can we contact you (optional)

No response

Would you like to work on this issue?

None

By submitting this issue, I have confirmed that:

  • I have starred the repo ⭐ and watched 👀 it on GitHub and followed the contribution guidelines.

Metadata

Metadata

Assignees

Labels

Major BugNeeds immediate fixbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions