Debian Codegraph @

lib/HTML/FormHandler/Field/TextArea.pm

raw
1 package HTML::FormHandler::Field::TextArea;
2 # ABSTRACT: textarea input
3 $HTML::FormHandler::Field::TextArea::VERSION = '0.410002';
4 use Moose;
5 extends 'HTML::FormHandler::Field::Text';
6
7 has '+widget' => ( default => 'Textarea' );
8 has 'cols' => ( isa => 'Int', is => 'rw' );
9 has 'rows' => ( isa => 'Int', is => 'rw' );
10 sub html_element { 'textarea' }
11
12
13 __PACKAGE__->meta->make_immutable;
14 use namespace::autoclean;
15 1;
16
17 __END__
18
19 =pod
20
21 =encoding UTF-8
22
23 =head1 NAME
24
25 HTML::FormHandler::Field::TextArea - textarea input
26
27 =head1 VERSION
28
29 version 0.410002
30
31 =head1 Summary
32
33 For HTML textarea. Uses 'textarea' widget. Set cols/row/minlength/maxlength.
34
35 =head1 AUTHOR
36
37 FormHandler Contributors - see HTML::FormHandler
38
39 =head1 COPYRIGHT AND LICENSE
40
41 This software is copyright (c) 2017 by Gerda Shank.
42
43 This is free software; you can redistribute it and/or modify it under
44 the same terms as the Perl 5 programming language system itself.
45
46 =cut