Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

aleemnazer's Profile

GitHub User: aleemnazer

Comments by

Avatar

Is there a way that we can control value box in advance search.
A dropdown/select box instead of this.
<%= f.value_fields do |v| %>
<%= v.text_field(:value, :class => 'form-control')%>
<% end %>

stackoverflow.com/questions/42276127/rails-ransack-how-to-customize-the-value-field-according-to-selected-attribut