admirhodzic / multiselect-dropdown Goto Github PK
View Code? Open in Web Editor NEWMultiselect dropdown in pure JavaScript with no dependencies
License: MIT License
Multiselect dropdown in pure JavaScript with no dependencies
License: MIT License
I need to remove everything selected when an external element is clicked. Is it possible? Thanks! :)
I have 5 multiselect-dropdown, I want each of them to have a diffrent placeholder.
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.
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.
how do i set options selected with the data coming from db in multiselect
Clicking "Select All" button does not remove checked class from option div's. Happens when selecting and deselecting all.
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
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()
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.