I want to know if it's possible to link filters when the values in dropdown I am showing is from a Model.
Example: I have teachers table and a students table.
Multiple students allotted to one teacher, but only one teacher is allotted to a student.
I want to show the list of subjects the teacher-student combination has:
For that I am showing one dropdown for teachers, another dropdown for students, this students dropdown contains all the students as I am taking it from the Model list. But how to show the students only under the particular teacher?
I can't use table directly, using model list is mandatory for me.