Class: Formulary::HtmlForm::Fields::Textarea
- Defined in:
- lib/formulary/html_form/fields/textarea.rb
Class Method Summary collapse
Methods inherited from Field
#error, #get_value_from_data_field, #initialize, #is_hidden?, #label, #name, #set_value, #valid?
Constructor Details
This class inherits a constructor from Formulary::HtmlForm::Fields::Field
Class Method Details
.compatible_with?(element) ⇒ Boolean
3 4 5 |
# File 'lib/formulary/html_form/fields/textarea.rb', line 3 def self.compatible_with?(element) element.name == "textarea" end |
.supports_required? ⇒ Boolean
7 8 9 |
# File 'lib/formulary/html_form/fields/textarea.rb', line 7 def self.supports_required? true end |