You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
267 B

from django.forms.widgets import TextInput
class TelephoneInput(TextInput):
input_type = 'tel'
class SearchInput(TextInput):
input_type = 'search'
class DateInput(TextInput):
input_type = 'date'
class TimeInput(TextInput):
input_type = 'time'