Skip to main content

AdminTextareaWidget

This class provides a customized textarea widget specifically designed for use within the administrative interface. It extends the standard textarea functionality by automatically applying a specific CSS class to ensure consistent styling and sizing for large text fields.

Attributes

AttributeTypeDescription
attrsdict = {"class": "vLargeTextField"}A dictionary of HTML attributes applied to the textarea element, which includes the 'vLargeTextField' CSS class by default for styling purposes.

Constructor

Signature

def AdminTextareaWidget(
attrs: dict = None
) - > null

Parameters

NameTypeDescription
attrsdict = NoneA dictionary of HTML attributes to be added to the rendered widget.

Signature

def AdminTextareaWidget(
attrs: dict = None
) - > null

Parameters

NameTypeDescription
attrsdict = NoneA dictionary of HTML attributes to be rendered on the textarea element, which will be merged with the default admin CSS classes.