Skip to content

Month/Year cannot be changed in Date-picker #59

@philitell

Description

@philitell

I'm using Version 2.1.1 of this package in a flutter web project. My table uses a DateRangePickerTableFilter - when i'm opening the DatePicker (calender-view) i see no option to change the month or year. When i use the text-input i can change the month or year (according to the defined range).

 DateRangePickerTableFilter(
                id: Constants.columnIdDate,
                name: S.of(context).filterTitleDate,
                formatter: (DateTimeRange dateRange) => S
                    .of(context)
                    .betweenDates(DateFormat.yMd().format(dateRange.start), DateFormat.yMd().format(dateRange.end)),
                chipFormatter: (DateTimeRange dateRange) => S
                    .of(context)
                    .betweenDates(DateFormat.yMd().format(dateRange.start), DateFormat.yMd().format(dateRange.end)),
                initialValue: null,
                firstDate: DateTime(2023, 10, 1),
                lastDate: DateTime.now(),
                enabled: true,
              ),
Image Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions