atk4 / ui

Robust and easy to use PHP Framework for Web Apps
https://atk4-ui.readthedocs.io/en/stable/
MIT License
447 stars 106 forks source link

Calendar must support range #1668

Open mvorisek opened 3 years ago

mvorisek commented 3 years ago

Support was temporary removed in https://github.com/atk4/ui/pull/1664/files#diff-090b97be7788c2935eac093dc30726c0e0f7797ae8e356e2bbee5896b488b615R53 as the underlaying DBAL type datetime (date, ...) is not be compatible.

User may want to use string type. If range only between two values should be supported, then maybe we can have a complex control that will work on two separate field.

mvorisek commented 2 days ago

Flatpick supports selecting a range - https://flatpickr.js.org/options/