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

Database Date constraints for current time(s) #13575

Open
mikesealey opened this issue Apr 29, 2024 · 1 comment
Open

Database Date constraints for current time(s) #13575

mikesealey opened this issue Apr 29, 2024 · 1 comment
Labels
bb-bindings bb-data-ui date Relating to dates, e.g. Date Picker, formatting, etc enhancement New feature or request env - production Bug found in production

Comments

@mikesealey
Copy link
Collaborator

Describe the feature request
Currently the constraints for Dates in the database will only allow min/max value for a specific date. I would like to add some sort of constraint for min/max value (or earliest/latest date) of today, or today +/- n days

For example, I want to force a user to pick a date in the past, or pick a date more than 7 days in the past.

This can be done with some javascript in front-end form custom validation , but not in the database itself.

Screenshots
If applicable, add screenshots to help explain your problem.

@mikesealey mikesealey added the enhancement New feature or request label Apr 29, 2024
Copy link

linear bot commented Apr 29, 2024

@ConorWebb96 ConorWebb96 added date Relating to dates, e.g. Date Picker, formatting, etc bb-bindings env - production Bug found in production bb-data-ui labels Apr 30, 2024 — with Linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bb-bindings bb-data-ui date Relating to dates, e.g. Date Picker, formatting, etc enhancement New feature or request env - production Bug found in production
Projects
None yet
Development

No branches or pull requests

2 participants