Code Monkey home page Code Monkey logo

multiselect-dropdown's People

Contributors

admirhodzic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

multiselect-dropdown's Issues

Deslected "All" Checkbox stays checked when items are deseleted

I think the seleced all button is missleading. When you selected All, great this works. But if a user then deselectes one item on the list the select All remains checked. I think that this should then uncheck to match the state of the users input request.

I hope that makes sense.

Fetching only the first selected index on pageload

hello admirhodzic,

There is an issue occurring on the postback event. When a page load event is fired, the multi-select dropdown fetches only the first selected value from the select list. Is there any way through which we can avoid this from happening? Otherwise, on every postback I've to store the chosen options from multiselect and have to add them in multiselect div.

What is window.MultiselectDropdownOptions

Howdy, I'm trying to implement this functionality but the workspace I'm in is stuck in JavaScript IE so I've had to do some "translations" to code JS IE can read to try and get this to work
What is window.MultiselectDropdownOptions? I see it in the JS fine but nowhere in the JS or HTML file do I see that specific parameter being written. I'm trying to call the MultiselectDropdown function but I'm not sure what to pass in, tried passing in the .options of my selection box but it doesn't like that so I'm a bit stuck

How to select all options on load?

Hi! Thanks for the wonderfull repo. I'm loading the options on page load and was wondering how can I select the "all" option (select all options) on page load?

Did try this, but it seems not working:

var selectElement = document.getElementById('select-options')
var multiselectAllSelector = document.getElementsByClassName("multiselect-dropdown-all-selector")[0]
multiselectAllSelector.classList.add("checked")
selectElement.loadOptions()

How to listen to changes?

Hi there,

I am working with your dropdown. I like the implementation and have decided to invest time on it. I am using it with React.js and could not figure out how to listen to onChange event? Do you know how I can get a event dispatched from the library and save the selected list into a state?

I wish you a good day!

Gaurav

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.