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
| Attribute | Type | Description |
|---|---|---|
| attrs | dict = {"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
| Name | Type | Description |
|---|---|---|
| attrs | dict = None | A dictionary of HTML attributes to be added to the rendered widget. |
Signature
def AdminTextareaWidget(
attrs: dict = None
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| attrs | dict = None | A dictionary of HTML attributes to be rendered on the textarea element, which will be merged with the default admin CSS classes. |