Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Unable to disable a select dropdown using the select formhelper

#6718

select :foo, :bar, options_for_select(%w(a b c)), {:disabled => true} doesn't work for me.

However, select_tag 'foo', options_for_select(%w(a b c)), {:disabled => true} works.

Reported by rubknob · April 18th, 2011 @ 11:28 PM

State: new
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. rubknob
    rubknob

    I observed this behavior in both 2.3.8 and 3.0.7 btw.

    April 18th, 2011 @ 11:29 PM