Sha256: a184930653a26807beb551b09480798484b298d568404b76601904d88c570c25

Contents?: true

Size: 297 Bytes

Versions: 8

Compression:

Stored size: 297 Bytes

Contents

require_relative 'text_field'

module Avo
  module Fields
    class PasswordField < TextField
      def initialize(name, **args, &block)
        @defaults = {
          component: 'password-field',
        }

        super(name, **args, &block)

        only_on :forms
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
avo-0.3.2 lib/avo/app/fields/password_field.rb
avo-0.3.1 lib/avo/app/fields/password_field.rb
avo-0.2.5 lib/avo/app/fields/password_field.rb
avo-0.2.4 lib/avo/app/fields/password_field.rb
avo-0.2.3 lib/avo/app/fields/password_field.rb
avo-0.2.2 lib/avo/app/fields/password_field.rb
avo-0.2.1 lib/avo/app/fields/password_field.rb
avo-0.2.0 lib/avo/app/fields/password_field.rb