The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Strehler::FormFu::Element::EntitySelect - FormFu Element to allow browsing a Strehler entity with a select box.

DESCRIPTION

A Strehler element that you can include in your form configuration to add in an entity edit form a select box populated with the elements of another entity, tipically to manage a foreign key field.

This element hasn't the standard HTML::FormFu elements namespace because it makes sense only in a Strehler system.

SYNOPSIS

In custom Strehler entity form:

    - type: '+Strehler::FormFu::Element::EntitySelect'
      name: otherentity
      label: Entity
      element: Site::Element::MyEntity

PARAMETERS

element

A module derived from Strehler::Element, usually another object managed in Strehler backend. You can use standard entitites (Strehler::Element::Article or Strehler::Element::Image) as well.