formBuilder icon indicating copy to clipboard operation
formBuilder copied to clipboard

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

Open hidayathBR opened this issue 1 year ago • 3 comments

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 avatar Feb 22 '24 12:02 hidayathBR

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.

hidayathBR avatar Feb 22 '24 13:02 hidayathBR

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

lucasnetau avatar Feb 22 '24 22:02 lucasnetau

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.

lucasnetau avatar Feb 22 '24 22:02 lucasnetau