Opened 14 years ago

Closed 14 years ago

#14883 closed (duplicate)

EmailField should be of type="email"

Reported by: paulc Owned by: nobody
Component: Forms Version: dev
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I looked around so I hope this isn't a dupe.

With HTML 5 out, EmailField should use an input of type="email" by default. That would be as simple as defining an EmailWidget, like so:

class EmailWidget(forms.widgets.Input):
    input_type = 'email'

And then making EmailField use it:

class EmailField(CharField):
    widget = EmailWidget
    # rest of code...

Change History (1)

comment:1 by Łukasz Rekucki, 14 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #12488.

Note: See TracTickets for help on using tickets.
Back to Top