Method: Formstrap::SelectView#input_options

Defined in:
app/models/formstrap/select_view.rb

#input_optionsObject



11
12
13
14
15
# File 'app/models/formstrap/select_view.rb', line 11

def input_options
  keys = attributes - %i[append attribute collection float form input_group include_blank label prepend validate selected tags wrapper remote]
  options = to_h.slice(*keys)
  default_input_options.deep_merge(options)
end