question about date

Created on 22 August 2023, over 1 year ago

Hello everyone, I have a question, can certain days of the week be excluded so that they cannot be selected later? For instance, I would like to be able to choose only weekdays, while Saturday and Sunday would be unavailable for selection.

πŸ“Œ Task
Status

Active

Version

4.1

Component

Documentation

Created by

πŸ‡ΊπŸ‡¦Ukraine Sharik_2023

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Sharik_2023
  • πŸ‡¨πŸ‡¦Canada mandclu

    To my knowledge, the HTML date picker doesn't support that kind of constraint.

    You could add your own validation constrain β†’ t to enforce that, but it wouldn't stop someone from selecting that date in the first place.

    If you want that enforced in the widget, you would likely need to go with a widget that is more JavaScript based, maybe even something custom.

Production build 0.71.5 2024