Car model only lists the models of the brands you pick, and Fuel type follows both. When a new brand removes a choice, a notice tells you.

Showing entries

Car brand
Removed : not available for your new selection.
Car model

Pick a brand to see only its models.

Fuel type
ready_audi_a3_2013.jpg
Audi A3 Cabrio
Seats: 4
Doors: 2
Transmission: Manual
Fuel: Unleaded
Model year: 2020
ready_audi_q3_2012.jpg
Audi Q3 Turbo Diesel
Seats: 5
Doors: 5
Transmission: Manual
Fuel: Diesel
Model year: 2022
bmw-x1-automatic.jpg
BMW X1 Diesel Automatic
Seats: 5
Doors: 5
Transmission: Automatic
Fuel: Diesel
Model year: 2024
citroen-c3.jpg
Citroen C3 Diesel
Seats: 5
Doors: 5
Transmission: Manual
Fuel: Diesel
Model year: 2020
ready_citroen_c4_grand_2015.jpg
Citroen C4 Grand Picasso Automatic
Seats: 7
Doors: 5
Transmission: Automatic
Fuel: Diesel
Model year: 2022
ready_citroen_spacetourer_2019.jpg
Citroen SpaceTourer Automatic
Seats: 7
Doors: 5
Transmission: Automatic
Fuel: Diesel
Model year: 2021
dacia-duster-4x4.jpg
Dacia Duster 4x4 Diesel
Seats: 5
Doors: 5
Transmission: Manual
Fuel: Diesel
Model year: 2022
dacia-jogger.jpg
Dacia Jogger
Seats: 7
Doors: 5
Transmission: Manual
Fuel: Unleaded
Model year: 2024
dacia-sandero.jpg
Dacia Sandero
Seats: 5
Doors: 5
Transmission: Manual
Fuel: Unleaded
Model year: 2023
File Code Streamline Icon: https://streamlinehq.com file-code
Example's code
1{{# Needs 'enable_dependent_filters' => true in config/statamic-livewire-filters.php #}}
2
3{{ livewire:lf-checkbox-filter
4 blueprint="cars.car"
5 field="car_brand"
6 condition="taxonomy"
7}}
8
9{{ livewire:lf-checkbox-filter
10 blueprint="cars.car"
11 field="car_model"
12 condition="in"
13 depends_on="car_brand"
14 view="lf-checkbox-advanced"
15 searchable="true"
16}}
17
18{{ livewire:lf-select-filter
19 blueprint="cars.car"
20 field="fuel_type"
21 condition="is"
22 depends_on="car_brand|car_model"
23}}
24
25{{# Tell the visitor what a new brand removed #}}
26<div
27 x-data="{ cleared: [], timer: null }"
28 x-on:dependent-selection-cleared.window="
29 cleared.push(...$event.detail.labels);
30 clearTimeout(timer);
31 timer = setTimeout(() => cleared = [], 6000);
32 "
33 x-show="cleared.length > 0"
34 x-cloak
35>
36 Removed <strong x-text="cleared.join(', ')"></strong>: not available for your new selection.
37</div>