lib/trestle/form/fields/time_select.rb in trestle-0.9.8 vs lib/trestle/form/fields/time_select.rb in trestle-0.10.0.pre
- 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"], disabled: readonly?, data: { enable_select2: true })
+ Trestle::Options.new(class: ["form-select"], disabled: readonly?, data: { controller: "select" })
end
end
end
end
end