Skip to main content

TelInput

This class represents an HTML < input type="tel" > widget, specifically designed for entering and editing telephone numbers. It inherits from the base Input class and utilizes a dedicated template for rendering the telephone input field in web forms.

Attributes

AttributeTypeDescription
input_typestring = telThe HTML input type attribute used to render the widget as a telephone number field.
template_namestring = django/forms/widgets/tel.htmlThe file path to the Django template used for rendering the telephone input widget.

Constructor

Signature

def TelInput() - > null

Signature

def TelInput() - > null