Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

In rails 3.1.3 app Chosen is not collecting the select options #563

Closed
ritchiea opened this Issue Apr 4, 2012 · 3 comments

Comments

Projects
None yet
2 participants

ritchiea commented Apr 4, 2012

I'm using jquery Chosen in a rails 3.1 app on a form written in HAML and the plugin is not collecting the options for select boxes. When I apply chosen to a select box and open a page, the select box has Chosen's styling but is completely non-functional. I start typing and no options appear. When I look at the HTML source options are present and the select boxes work fine without calling Chosen on them.

Contributor

pfiller commented Apr 13, 2012

There shouldn't be any difference in select boxes across frameworks. Can you share a jsfiddle or share a demo so we can see what's going wrong?

Hey, thanks for following up here's a js fiddle:
http://jsfiddle.net/GUN4B/8/

The error I'm getting on my local setup is DOM Exception syntax_err 12. The
Webkit inspector is behaving differently when I test it in jsfiddle, and I
haven't used jsfiddle extensively in the past so I can't say for certain
it's reporting the same error.

On Fri, Apr 13, 2012 at 4:14 PM, Patrick Filler <
reply@reply.github.com

wrote:

There shouldn't be any difference in select boxes across frameworks. Can
you share a jsfiddle or share a demo so we can
see what's going wrong?


Reply to this email directly or view it on GitHub:
#563 (comment)

Andrew Ritchie
@whackandrew http://twitter.com/whackandrew
mobile - 503.729.9210

Contributor

pfiller commented Nov 28, 2012

The jsfiddle you provided works for me. Is it not working in a specific browser or something? Feel free to re-open if you can provide more detail.

@pfiller pfiller closed this Nov 28, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment