class UiBibzInputs::UiTextFieldInput

Public Instance Methods

input(wrapper_options) click to toggle source
# File lib/ui_bibz/inputs/ui_bibz_inputs/ui_text_field_input.rb, line 7
def input(wrapper_options)
  unless string?
    input_html_classes.unshift('string')
    # input_html_options[:type] ||= input_type if html5?
  end

  merged_input_options = merge_wrapper_options(input_html_options, wrapper_options)
  UiBibz::Ui::Core::Forms::Texts::TextField.new(input_attribute_name, options, merged_input_options).render
end