groenroos / minimalect

Minimal select replacement for jQuery
350 stars 52 forks source link

Fix "Cannot read property 'class_group' of undefined" #51

Closed patrickgalbraith closed 9 years ago

patrickgalbraith commented 10 years ago

Referencing this inside jquery.each scope when it should be m since the minimalect scope is replaced by the jquery function scope.

patrickgalbraith commented 10 years ago

I also ran into an issue where the input is cleared immediately when typing if live = true. Changing live to false fixed the issue. But I needed to patch the _selectChoice function see the second commit for details.

adam-gneiting commented 10 years ago

I also ran into this problem. Same solution. This should be merged.