How to combine a text box and select box in rails

Hi folks,

Is there any way to combine a text and a select box like combo box.

Regards,
Veeraa.T

Veera S. wrote:

Hi folks,

Is there any way to combine a text and a select box like combo box.

Regards,
Veeraa.T

Not in HTML, the nearest you’ll get is to do a text-box and add an ajax
autocomplete. There’s a function to do this in Rails - I think its
depreciated now but it still works if you want to look it up:

text_field_with_auto_complete

Cheers
Luke

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