1 package Reaction::UI::Widget::Field::Array;
3 use Reaction::UI::WidgetClass;
5 use namespace::clean -except => [ qw(meta) ];
8 before fragment widget {
9 arg 'label' => $_{viewport}->label;
12 implements fragment list {
13 render 'item' => over $_{viewport}->value_names;
16 implements fragment item {
20 __PACKAGE__->meta->make_immutable;
29 Reaction::UI::Widget::DisplayField::Array
37 renders C<label> and C<list> passing additional variable "viewport"
41 C<content> contains the viewport's label
45 renders fragment item over the viewport's C<value_names>
49 C<content> contains the value of the current item ($_ / $_{_})
53 See L<Reaction::Class> for authors.
57 See L<Reaction::Class> for the license.