lib/cm_admin/models/form_field.rb in cm-admin-1.5.41 vs lib/cm_admin/models/form_field.rb in cm-admin-1.5.42

- old
+ new

@@ -7,10 +7,10 @@ attr_accessor :field_name, :label, :header, :input_type, :collection, :disabled, :helper_method, :placeholder, :display_if, :html_attrs, :target, :col_size, :ajax_url, :helper_text VALID_INPUT_TYPES = %i[ - integer decimal string single_select multi_select date date_time text switch custom_single_select + integer decimal string single_select multi_select date date_time text switch custom_single_select checkbox_group single_file_upload multi_file_upload hidden rich_text check_box radio_button custom_string custom_date ].freeze def initialize(field_name, input_type, attributes = {}) @field_name = field_name