motion-prime/sections/form.rb in motion-prime-0.7.0 vs motion-prime/sections/form.rb in motion-prime-0.7.1
- old
+ new
@@ -207,15 +207,9 @@
def height_for_index(table, index)
section = load_cell_by_index(index, preload: false)
section.container_height
end
- def events_off
- fields.values.each do |section|
- section.events_off
- end
- end
-
class << self
def field(name, options = {}, &block)
options[:name] = name
options[:type] ||= :string
options[:block] = block
\ No newline at end of file