lib/formulaic/inputs/select_input.rb in formulaic-0.4.0 vs lib/formulaic/inputs/select_input.rb in formulaic-0.4.1

- old
+ new

@@ -19,19 +19,19 @@ def has_multiple_select? has_select? && select_is_multiple? end def has_select? - has_field?(label, type: "select") + has_field?(label.to_str, type: "select") end def select_is_multiple? select_element[:multiple].present? && contains_all_options?(select_element.all("option")) end def select_element - @select_element ||= find_field(label, type: "select") + @select_element ||= find_field(label.to_str, type: "select") end end end end