Sha256: a45880996c922891ce239582298a624e13ba1c12e50d63cb978c903a3e09a77b
Contents?: true
Size: 380 Bytes
Versions: 22
Compression:
Stored size: 380 Bytes
Contents
# frozen_string_literal: true module UiBibzInputs class UiFileFieldInput < StringInput include UiBibz::Ui::Core::Forms::Texts def input(_wrapper_options) UiBibz::Ui::Core::Forms::Files::FileField.new(input_attribute_name, options, input_html_options).render end def input_attribute_name options[:multiple] ? "#{super}[]" : super end end end
Version data entries
22 entries across 22 versions & 1 rubygems