The RangeFilter allows you to filter the collection by using an HTML range field.
This filter is especially useful for entries that contain numeric values, such as those in an integer
field.
You can set the min
, max
and step
values as well as a default
value that sets the default value of the range slider.
If there is a preset condition specified in the livewire-collection
tag, it will override the default value set using the filter's default
property.
{{ livewire:lf-range-filter
blueprint="cars.car"
field="max_passengers"
condition="is"
min="2"
max="8"
default="5"
}}