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

Datepicker evolution #862

Closed
8 of 10 tasks
maxokorokov opened this issue Oct 10, 2016 · 12 comments
Closed
8 of 10 tasks

Datepicker evolution #862

maxokorokov opened this issue Oct 10, 2016 · 12 comments

Comments

@maxokorokov
Copy link
Member

maxokorokov commented Oct 10, 2016

The datepicker will evolve. This is the issue to track down future enhancements, progress, discussion, etc:

A little more details in the following document. Feel free to suggest and comment.

@ravipunjwani
Copy link

ravipunjwani commented Oct 10, 2016

@maxokorokov I would suggest a few more. Please consider if possible.

  • Configuration of HTML datepicker fallback for mobile devices (optional configuration).
  • The current datepicker works great with larger screens but in mobile if the input-box is placed to the right corner, the datepicker popover gets trimmed due to screen boundaries.
  • Custom formatting of date. Current workaround is way longer and would be great if it just allows with simple date format strings like "dd-MMM-yyyy" so it would just work.

@VororRich
Copy link

Are there any plans to implement a "month-year" picker (http://jsfiddle.net/brunodd/k5zookLt/20/)

@maxokorokov
Copy link
Member Author

@ErgoSoftUK I was thinking about it very long-term, but definitely not in the nearest future, as there are plenty more priority use cases. Unless someone wants to help and do it of course :)

@VororRich
Copy link

VororRich commented Nov 18, 2016

@maxokorokov Fair enough, thanks for the response max. I was also curious to know why the decision was made to implement it using your own date type? Oh, and I think I also spotted a bug in there. In the demo for the popup (with input box), if you enter an invalid year (just enter "33333") then click the pop-up icon, chrome tends to completely freeze.

@PEsteves8
Copy link

+1 to the suggestion of custom date formats on the input view. It would be nice to have full names for months (or event possibly weekdays), for instance.

@rodrigofns
Copy link

@ravipunjwani What's the current workaround to custom format a date, like "dd-mm-yyyy"?

@coutin
Copy link
Contributor

coutin commented Dec 15, 2016

I'm currently working on the datepicker keyboard navigation and visual improvment, and figure out that we are kind of stuck because of angular/angular#12818.

In order to make the focus on the right element, the QueryList issue should be solved. As of now, I'm not able to access the ElementRef of each DayTemplate (as it's done in Accordion) and it seems related to that.

Then how should this be implemented, does it have to be fully customizable for to any custom Day view, or this should be independent ?

@ravipunjwani
Copy link

@rodrigofns nothing yet, I was about to implement the custom format but couldn't spend much time on it. As we're still on development, it didn't get much urgent for me yet. Rather I would wait for quick configurable date-picker.

@Eagleseb
Copy link

Eagleseb commented Feb 2, 2017

Hey, I see that you're doing lot of progress about the datepicker lately, that's great !
Any progress have been made about the range feature ? Any ideas about when it will be available ?
Thanks, keep up the good work.

@achimha
Copy link

achimha commented Mar 29, 2017

@coutin any progress on keyboard navigation for the datepicker?

@divdavem
Copy link
Member

divdavem commented Mar 29, 2017

@achimha I have opened a PR for keyboard navigation: #1273
@maxokorokov Do you think we could merge it?

@sanspace
Copy link

Is there or can there be a config to make it act like a month picker? Just to select the MM/YY.

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