Class: AhoyCaptain::Filter::SelectComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- AhoyCaptain::Filter::SelectComponent
- Defined in:
- app/components/ahoy_captain/filter/select_component.rb
Instance Method Summary collapse
-
#initialize(label:, column:, url:, predicates:, form:, multiple: true, input_html: {}) ⇒ SelectComponent
constructor
A new instance of SelectComponent.
Constructor Details
#initialize(label:, column:, url:, predicates:, form:, multiple: true, input_html: {}) ⇒ SelectComponent
Returns a new instance of SelectComponent.
4 5 6 7 8 9 10 11 12 |
# File 'app/components/ahoy_captain/filter/select_component.rb', line 4 def initialize(label:, column:, url:, predicates:, form:, multiple: true, input_html: {}) @label = label @column = column @url = url @predicates = predicates @form = form @multiple = multiple @input_html_options = input_html end |