Sha256: 99f37bc30b2e85d5df7158f7a269c078cb43450e7974d47f86bd047b3bb06142

Contents?: true

Size: 351 Bytes

Versions: 2

Compression:

Stored size: 351 Bytes

Contents

module Druid
  module Elements
    class TextField < Element

      #
      # Set the value of the TextField
      #
      def value=(new_value)
        element.set(new_value)
      end

    end

    Druid::Elements.type_to_class[:text] = Druid::Elements::TextField
    Druid::Elements.type_to_class[:password] = Druid::Elements::TextField

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
druid-ts-1.2.4 lib/druid/elements/text_field.rb
druid-ts-1.2.3 lib/druid/elements/text_field.rb