Commit | Line | Data |
7adfd53f |
1 | package Reaction::UI::ViewPort::Field::String; |
2 | |
3 | use Reaction::Class; |
4 | |
5 | class String is 'Reaction::UI::ViewPort::Field', which { |
6 | |
7 | has '+value' => (isa => 'Str'); # accept over 255 chars in case, upstream |
8 | # constraint from model should catch it |
9 | |
10 | has '+layout' => (default => 'textfield'); |
11 | |
12 | }; |
13 | |
14 | 1; |
15 | |
16 | =head1 NAME |
17 | |
18 | Reaction::UI::ViewPort::Field::String |
19 | |
20 | =head1 DESCRIPTION |
21 | |
22 | =head1 SEE ALSO |
23 | |
24 | =head2 L<Reaction::UI::ViewPort::Field> |
25 | |
26 | =head1 AUTHORS |
27 | |
28 | See L<Reaction::Class> for authors. |
29 | |
30 | =head1 LICENSE |
31 | |
32 | See L<Reaction::Class> for the license. |
33 | |
34 | =cut |