Sha256: 889b4ee3104aec4d6ccfb213651f35b849a880b0fd0db323e655decc44cac104

Contents?: true

Size: 383 Bytes

Versions: 52

Compression:

Stored size: 383 Bytes

Contents

module UiBibzInputs
  class UiAutoCompleteFieldInput < CollectionInput
    include UiBibz::Ui::Core::Forms::Texts

    def input(wrapper_options)
      UiBibz::Ui::Core::Forms::Texts::AutoCompleteField.new(input_attribute_name, new_options, input_html_options).render
    end

    def new_options
      super.merge({ value: @builder.object.send(attribute_name) })
    end

  end
end

Version data entries

52 entries across 44 versions & 1 rubygems

Version Path
ui_bibz-2.4.0 lib/ui_bibz/inputs/ui_bibz_inputs/ui_auto_complete_field_input.rb
ui_bibz-2.3.15 lib/ui_bibz/inputs/ui_bibz_inputs/ui_auto_complete_field_input.rb
ui_bibz-2.3.14 lib/ui_bibz/inputs/ui_bibz_inputs/ui_auto_complete_field_input.rb
ui_bibz-2.3.13 lib/ui_bibz/inputs/ui_bibz_inputs/ui_auto_complete_field_input.rb
ui_bibz-2.3.12 lib/ui_bibz/inputs/ui_bibz_inputs/ui_auto_complete_field_input.rb
ui_bibz-2.3.11 lib/ui_bibz/inputs/ui_bibz_inputs/ui_auto_complete_field_input.rb
ui_bibz-2.3.10 lib/ui_bibz/inputs/ui_bibz_inputs/ui_auto_complete_field_input.rb
ui_bibz-2.3.9 lib/ui_bibz/inputs/ui_bibz_inputs/ui_auto_complete_field_input.rb
ui_bibz-2.3.8 lib/ui_bibz/inputs/ui_bibz_inputs/ui_auto_complete_field_input.rb
ui_bibz-2.3.7 lib/ui_bibz/inputs/ui_bibz_inputs/ui_auto_complete_field_input.rb
ui_bibz-2.3.6 lib/ui_bibz/inputs/ui_bibz_inputs/ui_auto_complete_field_input.rb
ui_bibz-2.3.5 lib/ui_bibz/inputs/ui_bibz_inputs/ui_auto_complete_field_input.rb
ui_bibz-2.3.4 lib/ui_bibz/inputs/ui_bibz_inputs/ui_auto_complete_field_input.rb
ui_bibz-2.3.3 lib/ui_bibz/inputs/ui_bibz_inputs/ui_auto_complete_field_input.rb
ui_bibz-2.3.2 lib/ui_bibz/inputs/ui_bibz_inputs/ui_auto_complete_field_input.rb
ui_bibz-2.3.1 lib/ui_bibz/inputs/ui_bibz_inputs/ui_auto_complete_field_input.rb
ui_bibz-2.3.0 lib/ui_bibz/inputs/ui_bibz_inputs/ui_auto_complete_field_input.rb
ui_bibz-2.2.2 lib/ui_bibz/inputs/ui_bibz_inputs/ui_auto_complete_field_input.rb
ui_bibz-2.2.1 lib/ui_bibz/inputs/ui_bibz_inputs/ui_auto_complete_field_input.rb
ui_bibz-2.2.0 lib/ui_bibz/inputs/ui_bibz_inputs/ui_auto_complete_field_input.rb