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

Disable past dates #167

Open
vikasinnoeye opened this issue Jul 21, 2017 · 15 comments
Open

Disable past dates #167

vikasinnoeye opened this issue Jul 21, 2017 · 15 comments

Comments

@vikasinnoeye
Copy link

How can I disable the past dates and only enable the Today's Date and Future date in Date Picker.

@vamsideepak
Copy link

set the attribute min-date="minDate" it should work

@vikasinnoeye
Copy link
Author

Thanks for your replay but I have already figured it out. But Thanks for your help.

@vikasinnoeye
Copy link
Author

vikasinnoeye commented Jul 24, 2017

But I have one more issue, how can I do it for hours also, to enable current and upcoming hours only, and how to show only 12 hours in the hours list.
Thanks

@vamsideepak
Copy link

we have the attribute => format = "DD-MM-YYYY hh:mm" u can change like this. but with this date picker we cant enable disable current date and upcoming hours.

@vamsideepak
Copy link

and need to ask some experieced person . i dnt know much . i have only one year of experience.

@vikasinnoeye
Copy link
Author

format = "DD-MM-YYYY hh:mm that doesn't help for showing the hour's count. It is only working with 12 hours time but still shows 23 hours.

@vamsideepak
Copy link

am sorry buddy if i know the answer i will definitely pass to u. check once mode= "";
http://angular-js.in/date-time-picker/ go through this link

@vikasinnoeye
Copy link
Author

hi Deepak, thanks for your help.

@vikasinnoeye
Copy link
Author

I have one more query let me know if you know how can I show the current selected hours on opening time calendar.

@vamsideepak
Copy link

welcome buddy

@vamsideepak
Copy link

i saw this question previous days but until now they are not developed such a way. now this date-picker is under development.

@vikasinnoeye
Copy link
Author

can we show time like this on opening the time calendar => https://www.awesomescreenshot.com/image/2685700/27b0f50b53aa150b3ce77105f9854b5f

please let me know if you can help me with that, also where I can get more help regarding the issue.

@vikasinnoeye
Copy link
Author

ok Thanks, will keep checking for the new updates until then I have to customize for my needs.

@vamsideepak
Copy link

if u know about these tell me too buddy . keep in touch.
its my mailid => [email protected]

@vikasinnoeye
Copy link
Author

Sure, I will keep you updated with new features I have added in the Date Picker.
Thanks For your all answers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants