Ngx-bootstrap: feat(datepicker): add possibility of keeping current date always highlighted regardless of the selected date

Created on 4 Dec 2017  路  23Comments  路  Source: valor-software/ngx-bootstrap

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.

comp(datepicker) medium (days) feat-request

Most helpful comment

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.

All 23 comments

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

This feature would be nice.

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.

Team Any Updates on this issue?

+1

+1

Any updates on this? @valorkin @IlyaSurmay

+1

any alternative solution for this?

+1

+1

+1

+1

+1

+1

+1

Any update ?

+1 current date highlighted

+1

Any update ?

Added in #4062 will be released this week

you rock !!

is this supported in angular 5?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ctrl-brk picture ctrl-brk  路  3Comments

MrBlaise picture MrBlaise  路  3Comments

Scooviese picture Scooviese  路  3Comments

tpiros picture tpiros  路  3Comments

tuoitrexuquang picture tuoitrexuquang  路  3Comments