Text_field_with_auto_complete broken in firefox?

I am seeing a problem with text_field_with_auto_complete in which the
input
does not get populated with the selected value, but only in firefox
(1.5.0.4).
Works in IE just fine. I have a super-simple mockup that shows this
problem
below. Can anyone please confirm for me that this does/does not work in
firefox or point out my mistake? I’m wondering if I need to submit a
bug?
The example seems really simple…

-Eric

filename: testpage.htm

<%= javascript_include_tag :defaults %> <%= text_field_with_auto_complete :owner, :company_name , {:size => 15}, {:skip_style => true} %>

def auto_complete_for_owner_company_name
@owners = []
@owners << “owner1”
@owners << “owner2”
render :partial => ‘owners’
end

def testpage
render :layout=>false
end

_owners.rhtml:

    <% for owner in @owners do -%>
  • owner
  • <% end -%>

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs