On Apr 13, 8:03 pm, RichardOnRails
<[email protected]> wrote:
> Hi Frederick,
>
> Thanks for your additional help with a simpler solution.  I tried to
> replace my select_tag approach with the f.select approach:
>
>     <%= f.select :vendor, @current_vendors %>
>     <%# = select_tag "expense[vendor]",
>             options_for_select(@current_vendors) %>
>
> 1.  The f.select :vendor provided the drop-down control,  but
> selecting an item did not populate the vendor text control,  as the
> former solution did, some I'm sure I misunderstand your intent.

It's just a drop down box - it's not going to do anything to any other
control on the page - just pointing out that you don't need to use
select_tag when you have a form builder handing around.

Fred

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to