The DateFilter allows you to filter the collection by date.
Entries that contain a `date` field. You can use it on collections with publish dates or at any other date
field.
This field uses the Flatpickr
datepicker. Visit the installation page to learn more.
If earliest_date
and latest_date
are defined in your field's blueprint, these settings are automatically applied as minDate
and maxDate
within Flatpickr's options in order to limit the dates the user can select.
{{ livewire:lf-date-filter
blueprint="cars.car"
field="registration_date"
condition="is_after"
}}