Date range dropdown component with presets.
Renders a DaisyUI dropdown with date range presets (today, last 7 days, etc.) and a "Custom range..." option that opens the calendar picker.
Required Assigns
filter- The Filter struct containing value and configmyself- The parent LiveComponent's @myself for event targeting
Events (handled by parent)
select_date_preset- %{"id" => filter_id, "preset" => preset_atom}show_date_calendar- %{"id" => filter_id}clear_filter_value- %{"id" => filter_id}
Example
<LiveFilter.Components.DateRange.render
filter={@filter}
myself={@myself}
/>
Summary
Functions
Renders a date range dropdown component.