I have a collection of values showing in the dropdown. In the dropdown some of the text values are very lengthy, so am unable to view them completely. So i want to use a tooltip here, hence i can able to hover on the option then the complete value is shown.
Code is given below:
<%= select_tag(:book_id,
options_from_collection_for_select(@books, :id, :name),
multiple: true, id: 'book_id') %>
Can someone help me here !