AdminEmailInputWidget
This class provides a specialized email input widget designed for use within administrative interfaces. It extends the standard email input functionality by automatically applying a specific CSS class to ensure consistent styling with other text fields in the admin panel.
Attributes
| Attribute | Type | Description |
|---|---|---|
| attrs | dict = {"class": "vTextField"} | A dictionary of HTML attributes to be applied to the rendered email input element, defaulting to include the 'vTextField' CSS class. |
Constructor
Signature
def AdminEmailInputWidget(
attrs: dict = None
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| attrs | dict = None | A dictionary of HTML attributes to be added to the widget. |
Signature
def AdminEmailInputWidget(
attrs: dict = None
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| attrs | dict = None | A dictionary of HTML attributes to be added to the rendered input element, which will be merged with the default admin CSS classes. |