Module: HotwireCombobox::Component::Markup::Label

Defined in:
app/presenters/hotwire_combobox/component/markup/label.rb

Instance Method Summary collapse

Instance Method Details

#label_attrsObject



2
3
4
# File 'app/presenters/hotwire_combobox/component/markup/label.rb', line 2

def label_attrs
  customize :label, base: { class: "hw-combobox__label", for: input_id, hidden: label.blank? }
end