lib/ecoportal/api/v2/page/component.rb in ecoportal-api-oozes-0.7.2 vs lib/ecoportal/api/v2/page/component.rb in ecoportal-api-oozes-0.7.3
- old
+ new
@@ -51,11 +51,12 @@
rich_text_field_class
when "people"
people_field_class
when "checklist"
checklist_field_class
- when "page_action"
+ when "page_action","checklist_task"
+ #doc["type"] = "checklist_task"
action_field_class
when "file"
files_field_class
when "image_gallery"
images_field_class
@@ -73,10 +74,10 @@
end
passkey :id
passthrough :patch_ver, :undeletable
passthrough :type, :label, :tooltip, :global_binding
- passthrough :hidden, :accent, :deindex
+ passthrough :hidden, :accent, :deindex, :required
passthrough :hide_view, :hidden_on_reports, :hidden_on_mobile
def ref
if digest = self.class.hash_label(label)
[type, digest].join(".")