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

How do i give range to my date field, i am not able to do it from the UI #1525

Open
hidayathBR opened this issue Feb 22, 2024 · 3 comments
Open

Comments

@hidayathBR
Copy link

Description: How do i give range to my date field, i am not able to do it from the UI

Environment Details:

  • formBuilder Version:
  • Browser:
  • OS:

Expected Behavior: I want to set a max date and min date limit which seems not possible from the form builder.

Actual Behavior: there is no way to set the range for the date field

Steps to Reproduce

Screenshot - (optional)

image

@hidayathBR
Copy link
Author

Yes there is a Min and Max field to set the range. But it dosent have a format, the average user might think it as a regular textbox.

@lucasnetau
Copy link
Collaborator

Your screenshot would suggest you have disabled the min/max attributes via config

@lucasnetau
Copy link
Collaborator

PRs welcome to improve the interface.

Two options would be to

  1. add placeholders showing the expected format yyyy-mm-dd,
  2. need to convert value, min and max inputs to match the Date/local datetime/time field.

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

3 participants