lib/cm_admin/models/form_field.rb in cm-admin-1.4.6 vs lib/cm_admin/models/form_field.rb in cm-admin-1.4.7
- old
+ new
@@ -4,10 +4,10 @@
module Models
class FormField
include Utils::Helpers
attr_accessor :field_name, :label, :header, :input_type, :collection, :disabled, :helper_method,
- :placeholder, :display_if, :html_attr, :target, :col_size
+ :placeholder, :display_if, :html_attr, :target, :col_size, :ajax_url
VALID_INPUT_TYPES = %i[
integer decimal string single_select multi_select date date_time text
single_file_upload multi_file_upload hidden rich_text check_box radio_button custom_string custom_date custom_single_select
].freeze