how to create dependent dropdown? and when doing two filters make Input Select with join the second one doesn't work #625
Unanswered
codemasterjoel
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a table called avv with foreign estado, municipio and parroquia tables.
the parroquia table is a subtable of the municipio table.
and the municipio table is a subtable of the estado table.
I was able to solve a bit by making a filter when making the dropdown list of the second filter, but I don't know how to pass the id of the element selected in the first filter.
I attach the file AvvsTable.php
entering the id of the first filter manually works but I don't know how to get the id automatically

filter works with id manually

datatable without filter

datatable with one dropdown

when I apply the first filter with join it works but when I apply a second filter with join whatever the second one doesn't work. but if I delete the first there if the second works.

when i remove the first i filter the second if it works

Beta Was this translation helpful? Give feedback.
All reactions