Skip to content
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): add possibility of keeping current date always highlighted regardless of the selected date #3192

Closed
Kenny333 opened this issue Dec 4, 2017 · 23 comments

Comments

@Kenny333
Copy link

Kenny333 commented Dec 4, 2017

As title, I have trouble to create a date picker, I want to always highlight today's date when I open the calendar, but not show today's date inside the text box, instead, I want to show the placeholder like "Please Select a Date" inside the input box by default.
Ideally: when it's loaded, it shows placeholder "Please Select a Date" in the box, when I open the calendar, today's date will be highlighted(let's say 12/04/2017), and then I select a date( let's say 12/10/2017), close the calendar, now inside the input box, it will show 12/10/2017, if I open the calendar again, two dates should be highlighted, today's date(12/04/2017) always highlight and the date I just selected(12/10/2017).
If anyone has any idea about this issue, please share, Thank you.

@Kenny333 Kenny333 changed the title Datepicker always highlight today but not show in text box How to always highlight today but not show in text box(Datepicker) Dec 4, 2017
@IlyaSurmay
Copy link
Contributor

I think what you asking for is to be able to pass an array of dates and classes that will be appended to them.

@YevheniiaMazur YevheniiaMazur changed the title How to always highlight today but not show in text box(Datepicker) feat(datepicker): add possibility of keeping current date always highlighted regardless of the selected date Jan 17, 2018
@alexdevmotion
Copy link

This feature would be nice.

@psined1
Copy link

psined1 commented Jun 5, 2018

If I may please, to the OP request I would like to add a shortcut button within a calendar popup to jump to current date. This is a very frequent use case in many business applications. Thanks.

@ajasmm86
Copy link

Team Any Updates on this issue?

@weijyewang
Copy link

+1

1 similar comment
@VitaliyKim
Copy link

+1

@tvbishan
Copy link

tvbishan commented Aug 1, 2018

Any updates on this? @valorkin @IlyaSurmay

@oscarnascimento
Copy link

+1

@amtprajapati
Copy link

any alternative solution for this?

@amtprajapati
Copy link

+1

2 similar comments
@GustavoAmerico
Copy link

+1

@fralewsmi
Copy link

+1

@Jav83
Copy link

Jav83 commented Sep 21, 2018

+1

3 similar comments
@Provson
Copy link

Provson commented Sep 27, 2018

+1

@Filini
Copy link

Filini commented Nov 19, 2018

+1

@Vonahz
Copy link

Vonahz commented Nov 28, 2018

+1

@Provson
Copy link

Provson commented Nov 29, 2018

Any update ?

@dotnetDean
Copy link

+1 current date highlighted

@grigoreme
Copy link

+1

@Provson
Copy link

Provson commented Dec 17, 2018

Any update ?

@valorkin
Copy link
Member

Added in #4062 will be released this week

@Provson
Copy link

Provson commented Dec 17, 2018

you rock !!

@thari119
Copy link

is this supported in angular 5?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests