-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Any suggestions for enhancement? #10
Comments
|
format mm.dd.yyyy doesn't work |
@nika-begiashvili Please file the issue with description. |
maybe include time picking feature ? |
@motss demo seems to be broken in Safari 9. PTAL. I also recommend refactor using |
@web-padawan Please file an issue with description of the problem. What kind of error message you receive that makes the demo seems broken in Safari 9? |
Is date range selection beyond what you imagine for your component? |
@derooy Do you mind opening an issue for that as feature request? It's a good-to-have feature. Hope you can be one of the contributors working on implementing this feature or providing feedbacks on the feature. |
@web-padawan Just a quick update. The issue has been fixed on Safari 9.x. |
@motss How about the ability to specify a list of invalid/valid dates? I'd be game to submit a PR for this if you're open to the change. |
@nick-woodward A list of invalid/ valid dates? Not get it still. On Thu, 8 Sep 2016 at 12:08 Nick Woodward [email protected] wrote:
|
Essentially the same concept that you have with "disableDays", but at a date-level, rather then day of the week. |
I kind of get it but the user should input valid date and not to rely on a On Thu, 8 Sep 2016 at 13:06 Nick Woodward [email protected] wrote:
|
Purposely allowing a user the ability to do something incorrectly when you can prevent it doesn't really make sense to me. I'm going to walk through a bit of our app to give you an idea of what our use-case is We have the user specify a date-range at a higher level that then determines the days a conference can take place. As you're well aware However a user isn't allowed to create multiple conference days for a given date. Since your component doesn't support an "invalidDates" or "disableDates" concept it leads to scenarios below where the user could select days that don't make sense In contrast this is a component I wrote when the app was using Angular 1.x + Angular Material: |
@nick-woodward Now I just figured it out what you're trying to convey. It's definitely a fantastic idea. I totes agree with this suggestion. Please open an issue as a feature request before proceeding to any PR (if you want to). Once again, thank you very much for suggesting this proposal. PS: What a nice piece of work you have there! Is it publicly accessible? |
Not at the moment, it was a quick datepicker I hacked together when I was using Angular Material. I do however have other components I've open sourced! |
I think the |
@panuhorsmalahti By default, |
Ah, that makes sense, I was only thinking about the dialog use case. |
In our project, we have different type of dates. Some are available (and you can select them), some are blocked (and you can't thanks to the disabled-dates array) but some are both but we can't customize them. So, it could be nice to be able to customize the colors of some dates. That can be useful to inform our user about some events (if coupled with a legend) or in our case, to inform certain dates are not currently blocked but close to. |
For those who are interested in the range functionality, I have released a component that handles this case, pending app-datepicker ! See demo here : https://www.webcomponents.org/element/roxus/range-datepicker |
@RoXuS It looks awesome! Well done on the range datepicker! |
https://github.com/motss/app-datepicker/tree/lit-element-v1 is the latest branch with |
would it be possible to implement a:
|
actually anything from here: |
MD has a relatively new specs for the pickers and it is quite comprehensive for authors to implement it now. The goal is to implement according to the specs in terms of UI/ UX. I already have plan to work on The new specs looks promising for a datepicker author like myself and I'm going to work on datepickers for desktop and not prioritize any datepicker for mobile (might skip it and fallback to native datepickers on iOS or Android). Also, range datepickers also in the specs so it's definitely win-win for people who want that too. |
Do you have any plans to implement a month picker ? |
Features to be implemented:
app-datepicker
and bump version.Not under consideration
iron-demo-helpers
, see Added support for is="dom-bind" allowing for databinding within demo snippet PolymerElements/iron-demo-helpers#32.Feel free to leave comments down here for any suggestions to enhance this element.
The text was updated successfully, but these errors were encountered: