Giter Site home page Giter Site logo

multiple select about jquery.my HOT 10 CLOSED

ermouth avatar ermouth commented on July 24, 2024
multiple select

from jquery.my.

Comments (10)

ermouth avatar ermouth commented on July 24, 2024

please help

Help to do what?

from jquery.my.

tallesdantas avatar tallesdantas commented on July 24, 2024

how can i use the multiple select of semantic ui http://semantic-ui.com/modules/dropdown.html with it?, its like bottstrap ,if i use $ctrl.select2({}); it glitchs the layout

from jquery.my.

ermouth avatar ermouth commented on July 24, 2024

Seems to work fine if you create it using conventional SELECT, not a bunch of divs. Can you provide a code to reproduce your case?

from jquery.my.

tallesdantas avatar tallesdantas commented on July 24, 2024

i've tyed to use select too , but when i add a value and cancell it it holds the last one , becouse the default "select multiple(html pure)" aways holds a value, try add multiple values then cancell eatch one.

from jquery.my.

ermouth avatar ermouth commented on July 24, 2024

Well, I see. It‘s indeed a bug. Will fix in 1.2.1 quiet soon, thank for pointing out.

from jquery.my.

tallesdantas avatar tallesdantas commented on July 24, 2024

thanks, btw nice plugin it's mutch better than downloading a whole library like knowcout, makes me easyer to program, as soon as you fix it please tellme =D

from jquery.my.

ermouth avatar ermouth commented on July 24, 2024

As a quick fix you can try to add return $o.val()||[]; right after line 424 with } of jquerymy.js. Hope it fix an issue at least in your particular case.

from jquery.my.

tallesdantas avatar tallesdantas commented on July 24, 2024

Works like a charm , thanks =D

from jquery.my.

ermouth avatar ermouth commented on July 24, 2024

Reopen as a bug to fix into 1.2.1
Invalid behavior for select[multiple], does not allow to uncheck last elt in the list and make list empty. Takes place due to $('').val() returns null, not []

from jquery.my.

ermouth avatar ermouth commented on July 24, 2024

Fixed in 1.2.1

from jquery.my.

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.