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

Year descending #2

Closed
geloboyao opened this issue Jan 18, 2019 · 7 comments
Closed

Year descending #2

geloboyao opened this issue Jan 18, 2019 · 7 comments

Comments

@geloboyao
Copy link

I read the documents, but I don't see a year in descending order. Is there something I missed? Thanks.

@chintan13
Copy link
Contributor

are you looking for new feature in it? can you explain your requirement with screenshot?

@geloboyao
Copy link
Author

feature

My settings:
this.datePickerObj = { fromDate: new Date('1900-01-01'), // need this in order to have toDate toDate: new Date('2018-01-01'), showTodayButton: false, closeOnSelect: true, disableWeekDays: [], mondayFirst: true, setLabel: 'Select a Date', todayLabel: 'Today', closeLabel: 'Close', disabledDates: [], titleLabel: 'Select a Date', monthsList: ["Jan", "Feb", "March", "April", "May", "June", "July", "Aug", "Sept", "Oct", "Nov", "Dec"], weeksList: ["S", "S", "M", "T", "W", "T", "F"], dateFormat: 'MMMM d, yyyy', clearButton: false }; }

Is there a way on how the years arranged (ascending or descending)? If not, this is a new feature. Thanks.

@chintan13
Copy link
Contributor

I have settled by default from maxyear to minyear 👍

@geloboyao
Copy link
Author

Thanks for complying to the issues.

Is there a way that you can set the option of the year to ascending or descending?

@chintan13
Copy link
Contributor

oh there is no way currently for it, but I will try to put this feature in next release which should be in couple of days.

@chintan13
Copy link
Contributor

New option is added yearInAscending, by setting it to true years will be in Ascending order

@geloboyao
Copy link
Author

Thanks a lot for fixing the issues. 👍

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

No branches or pull requests

2 participants