# Textarea

Multiline text input with HTML allowed.

Field::make( 'textarea', 'crb_phone_numbers', __( 'Phone Numbers' ) )

# Config methods

# set_rows( $rows = 5 )

Sets the number of rows. Must be greater than or equal to 0. Default is 5.

Field::make( 'textarea', 'crb_phone_numbers', __( 'Phone Numbers' ) )
    ->set_rows( 4 )

# set_attribute( $name, $value = '' )

Sets a direct attribute of the resulting <textarea> field. Can only be one of the following: maxLength, minLength, placeholder, readOnly and data-*.

Field::make( 'textarea', 'crb_phone_numbers', __( 'Phone Numbers' ) )
    ->set_attribute( 'placeholder', '(***) ***-****, ...' )