[#70843] Re: [ruby-cvs:58952] hsbt:r51801 (trunk): * lib/rubygems: Update to RubyGems HEAD(fe61e4c112). — Eric Wong <normalperson@...>
hsbt@ruby-lang.org wrote:
3 messages
2015/09/17
[ruby-core:89345] Drop Down List
From:
Ekta Rathi <rathi.ekta@...>
Date:
2015-09-02 12:53:10 UTC
List:
ruby-core #70654
Hi,
When I am selecting a particular value from DropDown(values are being
populated from DB), is it possible to show the same value in dropdown.
Currently,when i am selecting any value from the dropdown the selected
value is no longer visible in the dropdown list.
*For example:*
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. 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.
Please find attached screenshot.
Thanks,
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>
Attachments (2)
Screenshot1.png
(168 KB)
screenshot2.png
(166 KB)