Skip to main content

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

AttributeTypeDescription
attrsdict = {"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

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

Signature

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

Parameters

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