scinote-web/app/components/reports/multi_checkbox_input_component.rb

11 lines
331 B
Ruby
Raw Normal View History

# frozen_string_literal: true
module Reports
class MultiCheckboxInputComponent < TemplateValueComponent
def initialize(report:, name:, label:, placeholder: nil, editing: true, items: {})
super(report: report, name: name, label: label, placeholder: placeholder, editing: editing)
@items = items
end
end
end