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

How to redirect the date-picker to the current date/month after clearing the selected date by tapping on the clear option in AMP project #15792

Closed
shawkivai opened this issue Jun 4, 2018 · 10 comments

Comments

@shawkivai
Copy link

shawkivai commented Jun 4, 2018

What's the issue?

Unable to redirect to the current date/month after clearing the selected date by tapping on the clear option in AMP project. After clearing the selected dates when tapping on the input field the datepicker doesn't open in the current month rather than it opens the previous selected month.
Here I am using the Lightbox date picker.

Please help me to solve the issue.....................

What browsers are affected?

All browsers

Which AMP version is affected?

Version 1525461683159

@aghassemi
Copy link
Contributor

/to @cvializ

@cvializ
Copy link
Contributor

cvializ commented Jun 5, 2018

We should add an AMP action for this behavior on the amp-date-picker element.

@shawkivai
Copy link
Author

Can you please tell me which action should we use for this purpose!!!
I have tried various action but can't find the real one.
Thanks

@cvializ
Copy link
Contributor

cvializ commented Jun 7, 2018

It is not yet implemented, but it will be very soon!

@shawkivai
Copy link
Author

Thanks a lot. This action is required for many developers. We are looking forward to use the action for datepicker as soon as possible.
Thanks for your co-operation.

@cvializ
Copy link
Contributor

cvializ commented Jun 21, 2018

This behavior was merged in #16168 and it will go into canary this week and be in production next week. Thank you for reporting!

@cvializ cvializ closed this as completed Jun 21, 2018
@shawkivai
Copy link
Author

Has the Action been updated at production yet ??
It is urgently needed.
Thanks

@cvializ
Copy link
Contributor

cvializ commented Jun 27, 2018

Not yet, it is still continuing through our canary and production process. We stick to the process to ensure that any hidden bugs are caught before new code is served to all users.

@shawkivai
Copy link
Author

Please let me know when the action is updated at production. We need it badly.
Thanks in advance.

@cvializ
Copy link
Contributor

cvializ commented Jul 3, 2018

Looks like it's in production now https://ampb.in/#-LGVzlYZH2IQWWn2ZbhY

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

3 participants