﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
16630	Support for HTML5 input types	Jonas H.	Claude Paroz	"I attached a patch that adds support for HTML5 input types (URL, e-mail, number).

New widgets:

* `IntegerInput` -- HTML5 `type=""number""`
* `URLInput` -- HTML5 `type=""url""`
* `EmailInput` -- HTML5 `type=""email""`

Changes to fields:

* `EmailField`: Uses `EmailInput`
* `URLField`: Uses `URLInput`
* `IntegerField`: Uses `IntegerInput`, adds the `max=""...""` and `min=""...""` HTML5 `attrs` if `max_value`/`min_value` are specified
* `FloatField`: inherits behaviour from `IntegerField` and adds `step=""any""`
* `DecimalFields`: Now based on `IntegerField` because they share code; also `maxlength=""...""` and `step=""...""` are set accordingly

The second patch that is attached adapts the tests accordingly. (Some HTML attribute reordering was neccessary because of Python's dict ordering behaviour.)"	New feature	closed	Forms	dev	Normal	fixed	html5	riccardo.magliocchetti@… tgecho Paul Oswald dharris+django@… Danilo Bargen buggystick philipe.rp@…	Accepted	1	0	0	0	0	0
