mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-14 05:05:55 +08:00
11 lines
332 B
Ruby
11 lines
332 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
module Reports
|
||
|
class MultiCheckboxInputComponent < TemplateValueComponent
|
||
|
def initialize(report:, name:, label:, placeholder: nil, editing: false, items: {})
|
||
|
super(report: report, name: name, label: label, placeholder: placeholder, editing: editing)
|
||
|
@items = items
|
||
|
end
|
||
|
end
|
||
|
end
|