Module: HotwireCombobox::Component::Markup::HiddenField

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

Instance Method Summary collapse

Instance Method Details

#hidden_field_attrsObject



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

def hidden_field_attrs
  customize :hidden_field, base: {
    id: hidden_field_id, name: hidden_field_name, value: hidden_field_value,
    data: { hw_combobox_target: "hiddenField" } }
end