diff --git a/src/app/components/calendar/calendar.ts b/src/app/components/calendar/calendar.ts index 1ffe0f842ba..6f75cc19a88 100755 --- a/src/app/components/calendar/calendar.ts +++ b/src/app/components/calendar/calendar.ts @@ -3329,9 +3329,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); } diff --git a/src/app/components/multiselect/multiselect.ts b/src/app/components/multiselect/multiselect.ts index c2c469c94ed..de63585f7f7 100755 --- a/src/app/components/multiselect/multiselect.ts +++ b/src/app/components/multiselect/multiselect.ts @@ -1352,7 +1352,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) { 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 */ diff --git a/src/app/components/table/table.ts b/src/app/components/table/table.ts index 3d28f6573fe..c9a248a5273 100644 --- a/src/app/components/table/table.ts +++ b/src/app/components/table/table.ts @@ -5653,7 +5653,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(); } }