On 2 September 2015 at 12:39, Milley Duke <
li...@ruby-forum.com> wrote:
> Hi Colin,
>
> The query which i am using on my form is :
>
> = f.select(:word_ids, Word.order(:text).collect {|w| [ w.text,
w.id ] },
> { label: "Words" }, { multiple: true })
>
> I am able to select a value from dropdown list of values.If i want to
> select the same value again then i can't see that value in the dropdown
> list anymore.
>
> Is there any way that i can see the value in dropdown list irrespective
> of how many times i have selected the value.
>
> Also,please find attached screenshot.
I believe that the word is still there in the list, but it is styled
so that the background and text are the same colour so you cannot see
the text. Normally the currently selected item would be highlighted.
I guess you have specified something in a stylesheet that has caused
this. In Firefox you can use Tools > Web Developer > inspector to
examine the styles.
Colin
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
rubyonrails-ta...@googlegroups.com.
> To post to this group, send email to
rubyonra...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/4528061c72158d8661ae59cf14699267%40ruby-forum.com.
> For more options, visit
https://groups.google.com/d/optout.