Class: SelectCell

Inherits:
FormCellBase show all
Defined in:
app/cells/select/select_cell.rb

Constant Summary collapse

DATA_ATTRIBUTES =
%i[
  placeholder
  error
  width
  remote_options
  disable_search
].freeze

Instance Method Summary collapse

Methods included from UiComponents::CellAttributes

#attributes, #initialize

Methods included from UiComponents::ViewHelper

#ui_component

Instance Method Details

#showObject



33
34
35
36
37
38
39
40
# File 'app/cells/select/select_cell.rb', line 33

def show
  options[:form].select(
    options[:name],
    select_options,
    control_options,
    html_options
  )
end