Creating Custom Filter in Django Admin with JavaScript Flatpickr

Hello,

I am currently working on a project where I have successfully integrated Flatpickr calendar into my Django admin view. The calendar allows users to select a date, and I want to extend this functionality by creating a custom filter.

Essentially, I want to replicate the behavior of a Django-filter, but with my custom calendar.

Could anyone provide guidance on how I can achieve this? Are there any existing examples or resources that demonstrate the integration of a custom JavaScript calendar with Django admin filters?

I already tried with Custom filters but I can not achieve the functionality that iam looking for

Thank you