lib/druid/elements/text_field.rb in druid-ts-1.2.2 vs lib/druid/elements/text_field.rb in druid-ts-1.2.3

- old
+ new

@@ -1,22 +1,15 @@ module Druid module Elements class TextField < Element - def self.finders - super + [:text, :title, :label] - end - # # Set the value of the TextField # def value=(new_value) element.set(new_value) end - def append text - element.append text - end end Druid::Elements.type_to_class[:text] = Druid::Elements::TextField Druid::Elements.type_to_class[:password] = Druid::Elements::TextField