Method: Anchor::SelectComponent#html_options

Defined in:
app/components/anchor/select_component.rb

#html_optionsObject



24
25
26
27
28
29
# File 'app/components/anchor/select_component.rb', line 24

def html_options
  {
    class: InputComponent::INPUT_CLASSES,
    data: { testid: "select-#{attribute.to_s.dasherize}" },
  }
end