Git Product home page Git Product logo

Comments (6)

rubenv avatar rubenv commented on August 17, 2024

This is an Angular bug. Same reason why you can't have filter in there.

I wish there was a way on how to support this (a scope variable to a directive with a filter inside), but I haven't found it yet.

So sadly, you're not doing anything wrong. It just doesn't work right now. I really want to be able to support this, but I haven't found a way to fix it yet.

from angular-select2.

benjamin-mueller avatar benjamin-mueller commented on August 17, 2024

Thanks for the super fast feedback!

I just seems that none of the angular select / select2 directives seem to work 100% which is a real dealbreaker for a production environment.

Anyways, yours is still the most versatile and stable, and since there is always Array.sort() I am very thankful your directive works the way ist does, stable!

Regards

Benjamin

from angular-select2.

rubenv avatar rubenv commented on August 17, 2024

which is a real dealbreaker for a production environment.

Nah, we're using it in production without any issues. It's just a set of limitations you have to be aware of.

from angular-select2.

benjamin-mueller avatar benjamin-mueller commented on August 17, 2024

We are too .. but have a look at ui-select2 or ui-select .. they are broken in so many ways .. yours isnt .. :)

from angular-select2.

yppeaxy avatar yppeaxy commented on August 17, 2024

Hi,
Does this mean that we can not use any filters with ng-options?

PS: I also think that your component is the best fit for our production environment.

from angular-select2.

CrackerakiUA avatar CrackerakiUA commented on August 17, 2024

Just build your own filter, it will work.

from angular-select2.

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.