Closed abdel-ships-it closed 4 years ago
Saturn Team Can you guys please merge the pull request so that we can use it.
@SaturnTeam Would appreciate it a lot if you review my PR :D
+1 for this functionality
I need this to, please accept the request :) +1 to the list.
<sat-datepicker
[closeAfterSelection]="false"
[rangeMode]="true"
panelClass="datepickerPanel"
(beginDateSelected)="test()"
>
</sat-datepicker>
I am trying to use this way. But Not able to detect the begin date selection event. is this the right way or Am I doing it wrong?
I dont now man, i give up to try to use this. But now the matDatePicker, of Angular Material Add a new Feature that is possible to pick the start date, if i am not wrong.
I am Brasilian, so sorry by the bad english.
Em sáb., 4 de jul. de 2020 às 23:43, Srinivasa K K notifications@github.com escreveu:
<sat-datepicker
datePicker
[closeAfterSelection]="false" [rangeMode]="true" panelClass="datepickerPanel" (beginDateSelected)="test()"
I am trying to use this way. But Not able to detect the begin date selection event. is this the right way or Am I doing it wrong?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/SaturnTeam/saturn-datepicker/pull/135#issuecomment-653834306, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIBLKSJEXBZHRJMNH3NR4F3RZ7SDLANCNFSM4MEGLKLQ .
I dont now man, i give up to try to use this. But now the matDatePicker, of Angular Material Add a new Feature that is possible to pick the start date, if i am not wrong. I am Brasilian, so sorry by the bad english. Em sáb., 4 de jul. de 2020 às 23:43, Srinivasa K K notifications@github.com escreveu: … <sat-datepicker #datePicker [closeAfterSelection]="false" [rangeMode]="true" panelClass="datepickerPanel" (beginDateSelected)="test()" > I am trying to use this way. But Not able to detect the begin date selection event. is this the right way or Am I doing it wrong? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#135 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIBLKSJEXBZHRJMNH3NR4F3RZ7SDLANCNFSM4MEGLKLQ .
Yes, true. Angular material 10 has the date range picker.
However, I found a workaround for the issue I mentioned above.
ngAfterViewInit() { this.datePicker.setBeginDateSelected = (beginDate) => { console.log(beginDate) }; }
This seems to work.
Refer this link: https://stackoverflow.com/questions/61081950/add-date-range-validation-to-saturn-datepicker
Cool!!! I'm gona try this in work some day. I appreciate the tip. Good luck with what you're doing.
Em dom, 5 de jul de 2020 21:31, Srinivasa K K notifications@github.com escreveu:
I dont now man, i give up to try to use this. But now the matDatePicker, of Angular Material Add a new Feature that is possible to pick the start date, if i am not wrong. I am Brasilian, so sorry by the bad english. Em sáb., 4 de jul. de 2020 às 23:43, Srinivasa K K notifications@github.com escreveu: … <#m4318534645953283610> <sat-datepicker #datePicker [closeAfterSelection]="false" [rangeMode]="true" panelClass="datepickerPanel" (beginDateSelected)="test()" > I am trying to use this way. But Not able to detect the begin date selection event. is this the right way or Am I doing it wrong? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#135 (comment) https://github.com/SaturnTeam/saturn-datepicker/pull/135#issuecomment-653834306>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIBLKSJEXBZHRJMNH3NR4F3RZ7SDLANCNFSM4MEGLKLQ .
Yes, true. Angular material 10 has the date range picker.
However, I found a workaround for the issue I mentioned above.
ngAfterViewInit() { this.datePicker.setBeginDateSelected = (beginDate) => { console.log(beginDate) }; }
This seems to work.
Refer this link:
https://stackoverflow.com/questions/61081950/add-date-range-validation-to-saturn-datepicker
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/SaturnTeam/saturn-datepicker/pull/135#issuecomment-653960763, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIBLKSOTCCD6HUDCDHTSHXLR2ELM7ANCNFSM4MEGLKLQ .
This will address both the needs of #134 and #121
I have also tested this locally and it seems to work fine :D