lib/trestle/form/fields/time_select.rb in trestle-0.8.3 vs lib/trestle/form/fields/time_select.rb in trestle-0.8.4
- old
+ new
@@ -15,10 +15,10 @@
builder.raw_time_select(name, options, html_options, &block)
end
end
def default_html_options
- Trestle::Options.new(class: ["form-control"])
+ Trestle::Options.new(class: ["form-control"], data: { enable_select2: true })
end
end
end
end
end