-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
Respect time limits in ion-datetime #6850
Comments
ion-datetime also doesn't even showed in IE 11 |
Hello @oudzy ! Thanks for opening an issue with us! To bind a component to a property (like min and max) in angular 2 you use this syntax |
@jgw96 Thanks for your response but i meant a different issue, binding is fine, and i have updated the pluker example to bind the values instead of the direct assignment which is already works, but the problem as described above, the component ignore the time part. Please take a look at the updated example and try to enter an unvalid value like 30/10/2017 23:00 |
I confirm, problem with time exists За час рушится Вавилон! Четверг, 16 июня 2016 г., 18:10 +0300 от notifications@github.com notifications@github.com:
|
Sorry about that @oudzy ! I read the issue wrong. Looking at this issue again. |
Hi ! |
@ghislaindj That's wright but only the min and max date, not the time, the time part of input is not limited even when the component been touched. |
Confirming that this is still an issue in beta 11. It definitely makes it trickier to set up a valid date range with two |
The problem still exists for me. I'm on Ionic version 2.0.0-rc.3 and ionic-cli version 2.1.13. I'm using momentJS to set the min time and have an interval timer that's continuously updating it every second. |
Would love to see this feature added (or is it a bug?). I currently have to react to users input and alert them they can't input future time, would love to be able to just restrict max current time in ion-datetime |
Same Problem here |
This issue persists in RC-4 also. Can we have some update please? |
Any news about it? I have this in my html file
And in my ts file
When I push the page its shows me well today in the calendar, but when I select a date in the future, I can't select today again. Seems bind the selected date as min Date. EDIT: I'm on RC5. |
I have a simple Ionic Info: |
hi guys. you can try to use dependent columns of date/time picker |
@manucorporat I'm still seeing issues with restricting times -- it now doesn't show the time column at all. Can this be updated? Thanks |
If Issue , Respect time limits in ion-datetime #6850 is fixed then also it is not working on my side. am I using older version ? please help !!!! cli-packages- |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
https://guides.github.com/features/mastering-markdown/
Short description:
ion-datetime ignoring the time part inside the min and max attributes.
What to expect:
Respect the time limits provided in the min and max attributes.
Steps to reproduce:
Ionic Version: Ionic 2 beta 8
http://plnkr.co/edit/MzqRRCy0K7TEQTWmd7I9?p=preview
The text was updated successfully, but these errors were encountered: