Skip to content

Commit b5067a7

Browse files
committed
feat(calendar): adding commend for request update case
1 parent ee8c41d commit b5067a7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/mixins/datepicker-calendar-mixin/datepicker-calendar-mixin.ts

+4
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ export default class DatepickerCalendarMixin extends LitElement {
3838
reflect: true,
3939
})
4040
set disabledDates(disabledDates: Date[] | string) {
41+
// Litin bu sürümünde property decorator olmasına ragmen request update çalıştırmıyor.
42+
// Bir değişiklik oduğunda update etmesi için kendi implementasyonlarına benzer şekilde ekledik.
43+
// Liti update ettiğimizde burdaki requestUpdate'i kaldırabiliriz
44+
4145
let newVal: Date[] = [];
4246

4347
if (typeof disabledDates === "string") {

0 commit comments

Comments
 (0)