lib/phlexi/form/components/textarea.rb in phlexi-form-0.3.0.rc1 vs lib/phlexi/form/components/textarea.rb in phlexi-form-0.3.0

- old
+ new

@@ -2,20 +2,19 @@ module Phlexi module Form module Components class Textarea < Base + include Concerns::HandlesInput + def view_template textarea(**attributes) { field.dom.value } end protected def build_attributes super - - attributes[:id] = field.dom.id - attributes[:name] = field.dom.name build_textarea_attributes end def build_textarea_attributes