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

Functionality to disable Future dates #58

Open
NageswaraRaoCH opened this issue Oct 27, 2016 · 2 comments
Open

Functionality to disable Future dates #58

NageswaraRaoCH opened this issue Oct 27, 2016 · 2 comments
Assignees
Milestone

Comments

@NageswaraRaoCH
Copy link

how to disable future dates,i.e tomorrow on words....

@nifrasismail
Copy link

any update for this? How to disable the future dates?

@heysupratim heysupratim changed the title how to disable future dates? Functionality to disable Future dates Aug 3, 2019
@heysupratim heysupratim self-assigned this Aug 3, 2019
@heysupratim heysupratim added this to the 2.1 milestone Aug 3, 2019
@yasirtahir
Copy link

yasirtahir commented Nov 20, 2019

You can set the Max Date (In your case, it will be today), so that all the dates after the max date will be disable for selection.

dialog.setMaxDate(Calendar.getInstance()); // This will disable all the dates after today.

Similarly, there is an option to select Min Date to disable past dates. Please read more about them in the library.

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

4 participants