Giter Site home page Giter Site logo

Comments (5)

asfaltboy avatar asfaltboy commented on August 29, 2024 1

5 years later the above issue was resolved, I can't help but wonder if this is possibly a different issue 🤔

@eriktelepovsky kindly file a separate bug ticket with the details above as well as a traceback; from python logs, or javascript browser console, and any other information you feel relevant 🙏

from django-advanced-filters.

asfaltboy avatar asfaltboy commented on August 29, 2024

I believe this is intended, can't really recall what for, probably cleanup.
I do believe select2 replaces the select field into a bunch of elements (and input is one of them), and they all have the "select2" object attached to them. In other words, this works for me.

Does select2 works well for you everywhere else, such as in initialize_select2? The same call to destroy is made here too, as well as the init.

Please add some details on your scenario, step by step actions, etc.

from django-advanced-filters.

agix avatar agix commented on August 29, 2024

It crashes on initialize_select2 too.

Step by step
I clone the repo, setup.py install it, migrate, add the settings, add the static files, and add AdminAdvancedFiltersMixin to my admin class.

Really nothing special I think...

I think the query-value may be transformed somewhere in a select list of choices but I don't find where or how.

from django-advanced-filters.

asfaltboy avatar asfaltboy commented on August 29, 2024

Thanks for the report, I'll attempt to reproduce and get back to you.

from django-advanced-filters.

eriktelepovsky avatar eriktelepovsky commented on August 29, 2024

Issue still exists in current version 1.3.0.

Django==3.1.12
Python 3.9.8

from django-advanced-filters.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.