-
-
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
The inputDate only works if no date was selected before #74
Comments
@CheckHelzio May I know what your use case is for this kind of purpose? I'd like to know a little bit more on what approach to best suit your use case. And I understand you want it to be able to reset to the given |
I am developing an application that is a calendar of the events that will be in my university. I use the datePicker to navigate faster to a specific date. Also as a shortcut to return to today. I use it also to generate reports of the events, selecting the initial and final date of the report. |
@motss Yes, whenever the datepicker opens, I would like to reset the inputDate.
testDate was set as date which I gave in inputDate? Is this the right flow? |
@sp1rs reset |
@motss both inputDate and selectedDate. |
@motss and why setting |
@sp1rs |
@sp1rs The use case to me is quite rare. The only way to do is to introduce a flag for this kind of use case. |
@sp1rs @CheckHelzio cd8d97c should fix this with newly added flag |
The demo always updated with this rare use case. PTAL. 👍 |
Thanks, @motss |
@motss When is the fix going live? |
@sp1rs Since the Polymer 2.0 went stable, I'm still working on maybe this can be a hybrid element for the latest stable version alongside this patch. Of course, as always, help are definitely welcomed. Stay tuned~ |
@sp1rs Please check out the latest release which has been upgraded into a hybrid Polymer Element! 🌮 🎉 |
@motss awesome, thanks a lot. |
Hi!
First of all thanks for the wonderful work creating this component.
The inputDate works to open the datePicker on a specific date, but after I use the datePicker to select any other date, the inputDate does not work again.
What can I do if I want to open the datePicker always on the same date, even if I already select another one?
The text was updated successfully, but these errors were encountered: