Closed philitell closed 2 months ago
Setting the name-attribute of DateRangePickerTableFilter seems to have no effect anymore (it worked in previous versions <2.0). When setting the initialValue to null no label (with name) is shown in the popup-menu.
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, ),
Here is a reproducible example: "table_test_page.dart" in https://github.com/philitell/paged_data_table_test
Setting the name-attribute of DateRangePickerTableFilter seems to have no effect anymore (it worked in previous versions <2.0). When setting the initialValue to null no label (with name) is shown in the popup-menu.