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

Add allowed ranges to datepicker #18

Open
marosseleng opened this issue Oct 19, 2022 · 9 comments
Open

Add allowed ranges to datepicker #18

marosseleng opened this issue Oct 19, 2022 · 9 comments
Assignees
Labels
datepicker related issues related to datepicker enhancement New feature or request
Milestone

Comments

@marosseleng
Copy link
Owner

No description provided.

@marosseleng marosseleng added enhancement New feature or request datepicker related issues related to datepicker labels Oct 19, 2022
@marosseleng marosseleng added this to the 1.1.0 milestone Oct 19, 2022
@marosseleng marosseleng self-assigned this Oct 19, 2022
@kevinldavis
Copy link

I think this change caused the following error (jquery.ui 1.13.2) datepicker:
Screenshot 2022-10-19 102955

code:
$(function () {
$("#txtDateOfBirth").datepicker({
yearRange: { 1901: 2023 },
dateFormat: 'mm/dd/yyyy',
changeMonth: true,
changeYear: true
});
});

@marosseleng
Copy link
Owner Author

Hi @kevinldavis
That problem is not related to this issue/repository as this is not a javascript library.

@kevinldavis
Copy link

kevinldavis commented Oct 19, 2022 via email

@danieldaeschle
Copy link

I could need this feature. Are there any plans to implement it?

@marosseleng
Copy link
Owner Author

@danieldaeschle honestly, there aren't any for the near future.

Google created date & time pickers as part of compose-material3, it is currently in beta.

I, personally, haven't seen, nor tried it, thus I am not sure which (planned) features of this library are actually reasonable to implement, when now there is "official" library.

I'm sorry, I can't give you a clear answer on this, but it would need a bit of research on this topic from my side.

@danieldaeschle
Copy link

Ah, didn't know that there is a datepicker yet. Must be new :)

@marosseleng
Copy link
Owner Author

Yeah, it was released in alpha few weeks ago, is currently in beta (https://developer.android.com/jetpack/androidx/releases/compose-material3#1.1.0-beta02)

@danishrafiqe
Copy link

@marosseleng @danieldaeschle will u please tell me how to disable Previous dates From Now in This Date Picker

@marosseleng
Copy link
Owner Author

@drmughal03244 As you can see, this issue is still open, thus it is currently not possible to disable previous dates in the datepicker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datepicker related issues related to datepicker enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants