Sha256: 77a42c46d37eb9859499dca9007b1fcaa9096aae0fdb88b2a38c8bfb3ef34d3a
Contents?: true
Size: 553 Bytes
Versions: 3
Compression:
Stored size: 553 Bytes
Contents
module MotionPrime class PasswordFieldSection < BaseFieldSection element :label, type: :label do default_label_options end element :input, type: :text_field, delegate: proc { table_delegate } do {secure_text_entry: true}.merge(options[:input] || {}) end element :error_message, type: :error_message, text: proc { |field| field.all_errors.join("\n") if field.observing_errors? } after_element_render :input, :bind_text_input def value view(:input).text end def input? true end end end
Version data entries
3 entries across 3 versions & 1 rubygems