Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Dependency Filter #27

Open
riomigal opened this issue Nov 4, 2021 · 1 comment
Open

Dependency Filter #27

riomigal opened this issue Nov 4, 2021 · 1 comment

Comments

@riomigal
Copy link

riomigal commented Nov 4, 2021

Hi,

Would it be possible to make the filters dependent on other filters?
So e.g. if the first filter has countries and the second has cities it will refresh the options in the city filter when changing the country?

@ValentinGaudin
Copy link

ValentinGaudin commented Jun 26, 2023

Hi, you can do by yourself, get the value from the request inside your options :

if ($request->has('filters')) {
    $filters = $request->string('filters');
     // Do your stuff
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants