{# ── DatePicker — single-date Flowbite datepicker ────────────────────────── Requires: Flowbite JS loaded via register_flowbite(panel). Field getters used: field.get_date_format() — e.g. "yyyy-mm-dd" field.is_autohide() — bool field.has_buttons() — bool (Today / Clear buttons) field.get_orientation() — "bottom" | "top" | "bottom right" etc. field.get_picker_title() — optional calendar header text field.get_min_date() — optional lower bound field.get_max_date() — optional upper bound #} {% set _current_val = current | string if current is not none and current != '' and current != 'None' else '' %}
{{ errors[field.get_key()] }}
{% elif field.get_help_text() %}{{ field.get_help_text() }}
{% endif %}