V
V
Victor Ivanov2021-01-22 16:51:01
Django
Victor Ivanov, 2021-01-22 16:51:01

How to create a filter similar to the filter in the table as in filter_horizontal?

in the django admin panel there is a cool filter_horizontal element
in it, if there are a lot of elements, then you can easily filter the desired one by entering characters in the filter field. Moreover, you can enter some symbols of different words and it immediately filters and finds the right one without reloading the page.
I really want to have the same functionality in my project in a plate where there are many fields. those. you start typing characters in some column and it immediately filters everything and shows only what you need,

share a piece of code how to do it))
many thanks in advance for your help

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question