Class: UU::OS::Form::Textarea

Inherits:
Input show all
Defined in:
uu_os_gvc-0.28.16/lib/uu/os/form/textarea.rb

Overview

component for representation date and time values

Instance Attribute Summary (collapse)

Attributes inherited from Input

#data, #disabled, #read_only, #required, #submit_value_change, #value, #value_change_action_uri, #width

Attributes inherited from GVC::Component

#attributes, #code, #component_type, #form, #height, #id, #name, #width

Method Summary

Methods inherited from GVC::Component

#add_message, #focus, #initialize, #messages

Constructor Details

This class inherits a constructor from UU::OS::GVC::Component

Instance Attribute Details

- (Object) max_length

Maximum number of characters that can be typed in textarea



11
12
13
# File 'uu_os_gvc-0.28.16/lib/uu/os/form/textarea.rb', line 11

def max_length
  @max_length
end

- (Object) restriction

Textarea restrictions.



14
15
16
# File 'uu_os_gvc-0.28.16/lib/uu/os/form/textarea.rb', line 14

def restriction
  @restriction
end

- (Object) rows

Minimal number of rows displayed in textarea. Textarea itself enlarge number of visible rows up to 15 rows without change of rows attribute value.



17
18
19
# File 'uu_os_gvc-0.28.16/lib/uu/os/form/textarea.rb', line 17

def rows
  @rows
end