From abb6b53be5a0a100e15c52ed4b5b6e3c4a7ad1a9 Mon Sep 17 00:00:00 2001 From: MD Ashik Date: Thu, 14 Sep 2023 18:20:51 +0600 Subject: [PATCH 1/4] fix: #13672 || ColumnFilter in row mode and type date not trigger change when value change --- src/app/components/table/table.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/table/table.ts b/src/app/components/table/table.ts index 7b381c1966b..99a7dc09228 100644 --- a/src/app/components/table/table.ts +++ b/src/app/components/table/table.ts @@ -5485,7 +5485,7 @@ export class ColumnFilterFormElement implements OnInit { onModelChange(value: any) { (this.filterConstraint).value = value; - if (this.type === 'boolean' || value === '') { + if (this.type === 'date' || this.type === 'boolean' || value === '') { this.dt._filter(); } } From 182970f16c84826d53cc89e184a3ad99c67f2576 Mon Sep 17 00:00:00 2001 From: MD Ashik Date: Sun, 1 Oct 2023 20:01:24 +0600 Subject: [PATCH 2/4] fix: #13781 || dataTable: frozenColumn header overlap with frozen body --- src/app/components/table/table.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/components/table/table.css b/src/app/components/table/table.css index 1d9c7591346..6d55f24793e 100755 --- a/src/app/components/table/table.css +++ b/src/app/components/table/table.css @@ -45,7 +45,7 @@ .p-datatable-scrollable-table > .p-datatable-thead { position: sticky; top: 0; - z-index: 1; + z-index: 2; } .p-datatable-scrollable-table > .p-datatable-frozen-tbody { @@ -84,7 +84,7 @@ .p-datatable-scrollable-table > .p-datatable-tbody > .p-rowgroup-header { position: sticky; - z-index: 1; + z-index: 2; } /* Resizable */ @@ -163,7 +163,7 @@ display: flex; align-items: center; justify-content: center; - z-index: 2; + z-index: 3; } /* Filter */ From cb0891972445dc90e6ae4b92f726ac062b60c486 Mon Sep 17 00:00:00 2001 From: ashikjs Date: Mon, 13 Nov 2023 16:40:29 +0600 Subject: [PATCH 3/4] fix: #14057 || MultiSelect Empty Filter Message / Template is not working when you have options --- src/app/components/multiselect/multiselect.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/multiselect/multiselect.ts b/src/app/components/multiselect/multiselect.ts index a5f7c8db426..14e552961e8 100755 --- a/src/app/components/multiselect/multiselect.ts +++ b/src/app/components/multiselect/multiselect.ts @@ -1306,7 +1306,7 @@ export class MultiSelect implements OnInit, AfterViewInit, AfterContentInit, Aft } isEmpty() { - return !this._options() || (this._options() && this._options().length === 0); + return !this._options() || (this.visibleOptions() && this.visibleOptions().length === 0); } getOptionIndex(index, scrollerOptions) { From 2483b5126e526ced13ef6a8b76cc4850110a2d57 Mon Sep 17 00:00:00 2001 From: ashikjs Date: Mon, 13 Nov 2023 17:33:14 +0600 Subject: [PATCH 4/4] fix: #14087 || [Calendar] issue when clicking on "today" button it doesn't navigate to the current date. --- src/app/components/calendar/calendar.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/components/calendar/calendar.ts b/src/app/components/calendar/calendar.ts index 4224bad5250..4e014f41b8d 100755 --- a/src/app/components/calendar/calendar.ts +++ b/src/app/components/calendar/calendar.ts @@ -3234,9 +3234,10 @@ export class Calendar implements OnInit, OnDestroy, ControlValueAccessor { } onTodayButtonClick(event: any) { - let date: Date = new Date(); - let dateMeta = { day: date.getDate(), month: date.getMonth(), year: date.getFullYear(), otherMonth: date.getMonth() !== this.currentMonth || date.getFullYear() !== this.currentYear, today: true, selectable: true }; + const date: Date = new Date(); + const dateMeta = { day: date.getDate(), month: date.getMonth(), year: date.getFullYear(), otherMonth: date.getMonth() !== this.currentMonth || date.getFullYear() !== this.currentYear, today: true, selectable: true }; + this.createMonths(date.getMonth(), date.getFullYear()); this.onDateSelect(event, dateMeta); this.onTodayClick.emit(event); }