Skip to content

Conversation

@sbeam
Copy link

@sbeam sbeam commented Jan 21, 2016

when option "multiple" is true, will process original value as array
(joined on comma for now for display), and then pass array of selected
options directly back to controller. Always adds a button because the
change event is often fired spuriously when interacting with a
multiselect.

(there seems to be desire for this feature (eg, #285) and it's working in production for me. Feedback welcome - PS this gem is great 👍 )

when option "multiple" is true, will process original value as array
(joined on comma for now for display), and then pass array of selected
options directly back to controller.  Always adds a button because the
change event is often fired spuriously when interacting with a
multiselect.
@sbeam
Copy link
Author

sbeam commented Jan 21, 2016

getting an unrelated failure on "should be able to use bip_bool to change a boolean value using an image" locally on master, and now on CI as well. Not sure what is going on with that, will look into if I get a sec

the block for Combustion.initialize! sets the old values for the test
env that turn off digests, so the matcher for the image tag in "should
be able to use bip_bool to change a boolean value using an image" works.

also moving css files to standard application.css manifest avoids the
complaints from rails about "Asset was not declared to be precompiled in
production." for each of these.
@EmmaB
Copy link

EmmaB commented Jan 24, 2016

This is great, although I'm getting Uncaught TypeError: Cannot read property 'indexOf' of undefined when there is no value.

@sbeam
Copy link
Author

sbeam commented Jan 25, 2016

@EmmaB good catch - I made a commit to deal with that, does it work better?

@EmmaB
Copy link

EmmaB commented Mar 5, 2016

@sbeam Sorry for the slow reply -- yes, that works perfectly.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants