NAME

edit_field_textarea

SYNOPSIS

<& edit_field_textarea, column => $column, row => $row &>

DESCRIPTION

Given a column and an optional row, this component produces a textarea form element for that column.

If a row is given, then its value will be used as the default value for the form element.

PARAMETERS

  • column (required)

    An Alzabo::Column object.

  • row (optional)

    An Alzabo row object.

  • class (optional)

    This defaults to $m->base_comp->attr_if_exists('textarea_class_default').

  • rows (optional)

    If not given, this defaults to $m->base_comp->attr_if_exists('textarea_rows_default') if it exists, or 4 if it does not.

  • cols (optional)

    If not given, this defaults to $m->base_comp->attr_if_exists('textarea_cols_default') if it exists, or 40 if it does not.

  • wrap (optional)

    If not given, this defaults to $m->base_comp->attr_if_exists('textarea_wrap_default') if it exists, or "multiple" if it does not.