Class: UiBibzInputs::BaseInput

Inherits:
SimpleForm::Inputs::Base
  • Object
show all
Includes:
ActionView::Helpers::FormTagHelper
Defined in:
lib/ui_bibz/inputs/ui_bibz_inputs/base_input.rb

Instance Method Summary collapse

Instance Method Details

#optionsObject



7
8
9
# File 'lib/ui_bibz/inputs/ui_bibz_inputs/base_input.rb', line 7

def options
  super.merge({ value: @builder.object.send(attribute_name) }).merge(@builder.options[:input_html] || {})
end