Ngx-bootstrap: feat(datepicker): add possibility of showing only the year and month view

Created on 12 Sep 2017  路  47Comments  路  Source: valor-software/ngx-bootstrap

Hey, I'm looking for an option to switch view mode only to show year and month view.
Is it possible?
Thanks!!!

comp(datepicker) medium (days) feat-request medium

Most helpful comment

Do we know when bsDatepicker will allow that feature????

All 47 comments

You should add these properties:

[datepickerMode]="'year'"
[minMode]="'month'"

EDIT: Sorry that is for the traditional datepicker, have not tested on bsDatepicker!

Do we know when bsDatepicker will allow that feature????

Hello @IlyaSurmay, are you going to implement this feature in the nearest future?

+1 for adding that awesome feature to bsDatepicker!

+1 for introducing this feature.

+1 for adding this sweet sweet feature

+1 for adding it. Need it as well :)

+1. Very much needed ;)

+1 When will the datepicker mode be introduced, my project is stuck because of this.

I am using ngx bootstrap version 2.0.2. Is the changes already include in it? if yes , please guide me how to use.

+1 for adding this feature.

+1

+1

I'm still unable to get the year mode only. Kindly anyone help me with this

temporary you can use my build of PR https://github.com/valor-software/ngx-bootstrap/pull/3354
until it will be merged

in package.json change:
"ngx-bootstrap": "2.0.2"
to:
"ngx-bootstrap": "dafik/ngx-bootstrap-dist",

Any news about your PR @dafik? I've just check your dist and works fine, the only objection would be your ngx-bootstrap version (2.0.2)

When is this feature expected to be added ?

+1

+1

+1

+1

+1

+1, need this very much!

+1

+1

+1, need this PR soon

+1

+1

+1

+1

+1

+1

+1

+1

+1

+1

+1

+1

+1

+1

+1

+1, need it for very long. Please add it.

what's the status on this? Would love this!

This feature required in ngx-bootstrap. Please add it

Is nightly build with that feature available somewhere?

2 more PRs today and we will publish 3.1.3

+1 very much needed

Was this page helpful?
0 / 5 - 0 ratings