-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(datepicker): developing datepicker component #907
base: next
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe we should avoid using mixins to separate a component’s dependencies from one another and reduce complexity. Let's discuss.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Due to concerns about mixins, I’m requesting a change until we have a chance to discuss it further
We should also separate the calendar tests from the date picker since it’s a different subject that should be addressed in a separate merge request |
src/mixins/datepicker-calendar-mixin/datepicker-calendar-mixin.ts
Outdated
Show resolved
Hide resolved
@dilandoogan we should resolve conflict first |
* Defines the unselectable dates for calendar | ||
*/ | ||
@property({ type: Array, attribute: "disabled-dates", reflect: true }) | ||
disabledDates: Date[]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
buraya custom parser yazalım her zaman Date array dönebilmesi için
@@ -79,7 +79,7 @@ export default class BlPopover extends LitElement { | |||
/** | |||
* Visibility state | |||
*/ | |||
@state() private _visible = false; | |||
@state() _visible = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
getter ve setter'ları bulunuyor bunu private'den çıkarmayalım ustam
event.preventDefault(); | ||
}); | ||
|
||
document.addEventListener("mousedown", event => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
inputEl ve calendarEl'e aynı listener geçerek buradaki maliyetten çıkabilir miyiz?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
çıkamıyorsak daha sonrasında listener kalkmalı
No description provided.