Class: Phlexi::Form::Components::Textarea

Inherits:
Base
  • Object
show all
Includes:
Concerns::HandlesInput
Defined in:
lib/phlexi/form/components/textarea.rb

Instance Attribute Summary

Attributes inherited from Base

#attributes, #field

Instance Method Summary collapse

Methods included from Concerns::ExtractsInput

#extract_input

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Phlexi::Form::Components::Base

Instance Method Details

#view_templateObject



9
10
11
# File 'lib/phlexi/form/components/textarea.rb', line 9

def view_template
  textarea(**attributes) { field.dom.value }
end