Comments (9)
Oh wait.. I think its allowing mutiple selections. Maybe that explains it. Is there a way to disable this?
from minimalect.
Multiple selections shouldn't be on for any select
s unless the original element has the multiple
property. This is a bug; I'll have to do some investigation. Sorry about this!
from minimalect.
@groenroos Any closer on this? I'm getting the same problems now.
from minimalect.
This bug is a bit of a bummer.
@groenroos Do you know what is causing this problem? Maybe we can help you can tell us where to look.
from minimalect.
i'm having the same problem right now! any update on this? thanks
from minimalect.
Would love an update here! :)
from minimalect.
I've delved into the code, and 'hacked' a solution here...
copied line 108:
this.items = this.wrapper.find('li');
...to line 550, meaning when a selection is made the array of options is refreshed from the dynamically created content, rather than the old array of original options.
Does the trick for me - albeit probably not very efficient. Perhaps @groenroos will have a moment to review and fix properly.
Kind regards,
Tom
from minimalect.
Ah, better still - inject the following at line 208...
m.items = m.wrapper.find('li');
This performs the update, but only when the DOM changes, and not on every selection change. :)
from minimalect.
I'm having similar problems, but with the 'update' function. I'm using React to dynamically render select lists, the default mutate doesn't seem to work (because it's not in the DOM) - but the update function does. Any idea how to hack the plugin so that the new options are selectable?
from minimalect.
Related Issues (20)
- selected option not working on Chrome HOT 2
- Placeholder in IE9
- Submit form doesn't send selected data
- Problem with navigation
- Placeholder null and validation
- TypeError: this.options is undefined HOT 3
- I would like to check whether its first element or not on Change.
- Toggle dropdown open/ close?
- minimalect this.options.onchange add origin
- Is there easy way of changing size?
- Select Event not trigger
- minimalect dropdown is editable
- wr element becomes event
- beforeinit and $(this) reference
- With multiple Selects, Firefox looses Focus
- Set first option of select
- Disable elements or reinitialization
- Minified file version is still v0.8b
- SASS Color addition and subtraction
- Bug when Open list option on chrome HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minimalect.