﻿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
20765	HTML5 number input type not working for DecimalField with big decimal_places	aleksey.kladov@…	Simon Charette	"DecimalFiled's widget is a NumberInput with step attribute equal to 10^-decimal_placecese^. https://github.com/django/django/blob/stable/1.6.x/django/forms/fields.py#L374).

If decimal_places is too big(the exact value for `big` should be found here http://www.w3.org/TR/2012/WD-html5-20121025/common-microsyntaxes.html#rules-for-parsing-floating-point-number-values) the step value parses to 0, which is not valid (http://www.w3.org/TR/2012/WD-html5-20121025/common-input-element-attributes.html#attr-input-step). It is not good in itself, but it also causes surprising and unwanted behaviour.

For example in Google Chrome input with type=""number"" and step=""0.0000000000000000000000000000001"" accepts only integer values!

A possible  fix is to add optional `step` argument to DecimalField and, and if it is not provided just use ""any""."	Bug	closed	Forms	1.6-beta-1	Normal	fixed		Simon Charette	Ready for checkin	1	0	0	0	0	0
