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

Setting datepicker.date from outside of the date picker dialog is ignored #7

Closed
FLamparski opened this issue Mar 11, 2016 · 4 comments

Comments

@FLamparski
Copy link

I want a combo date picker box: a datepicker-dialog that lets me pick the date from the calendar, and a text entry field for people who don't care for things like that and just want to enter a date from their keyboard. The problem is that what if they entered a date from the keyboard, but then want to correct it on the graphical picker?

At the moment, it's not possible to do so because setting date on the datepicker is completely ignored. I noticed that datepicker-dialog is pass-through in terms of the date, but the datepicker itself only uses the date on startup.

@motss
Copy link
Owner

motss commented Mar 12, 2016

@FLamparski It's because the date is designed to just read data from the selected date from the datepicker. I will work on this to allow user to change the date from the external so that the result will reflect on the datepicker.

motss added a commit that referenced this issue Mar 12, 2016
…change will reflect to update the date inside the datepicker #7, Added new test for new enhancement, Added travis support
motss added a commit that referenced this issue Mar 12, 2016
the change will reflect to update the date inside the datepicker #7, Added
new test for new enhancement, Fixed layout issue on Edge and IE11, Added travis support
@motss
Copy link
Owner

motss commented Mar 13, 2016

@FLamparski Please check the demo and see if the new implementation is what you have been looking for.

@motss
Copy link
Owner

motss commented Mar 13, 2016

@FLamparski I've update the demo page with the newly added inputDate property which can allow you to change the date without selecting any date on the datepicker. Just type the date at the `paper-input right below the datepicker and see the result.

@motss
Copy link
Owner

motss commented Apr 13, 2016

@FLamparski Closing this and feel free to reopen if the issue still persists.

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

2 participants