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

DateTimeAnswerFormat date boundaries #40

Open
jfkominsky opened this issue May 7, 2021 · 0 comments
Open

DateTimeAnswerFormat date boundaries #40

jfkominsky opened this issue May 7, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@jfkominsky
Copy link

Small feature request: The CupertinoDatePicker underlying DateTimeAnswerFormat supports "minimum date" and "maximum date" arguments that make it so the selected date must be within certain boundaries (there are also minimum year and maximum year arguments that just do this for year, but these are just simplified versions of the minimum and maximum date arguments that take ints instead of datetime objects). It would be helpful if these could be used as optional arguments in the DateTimeAnswerFormat constructor, as it would save the trouble of validating responses after the fact when the date/time needs to be constrained in some way.

@MadsVSChristensen MadsVSChristensen added the enhancement New feature or request label Aug 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants