﻿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
34473	StepValueValidator does not take into account min_value	James Meakin	Jacob Rief	"If you define a number input with `<input type=""number"" min=1 step=2>`, client side this will only allow positive odd numbers. 

We could generate the same input in a Django form with `IntegerField(min_value=1, step_size=2)` and `Field.localize` is `False`, which would then use `MinValueValidator` and `StepValueValidator`.

We then get into a problem as `StepValueValidator` always uses `0` as the base, so `step_size=2` only even numbers are allowed. This then conflicts with the client side validation, and the user cannot submit any value for the input.

I'm unsure if this is a bug or whether this is just a configuration problem, apologies if so, but the behaviour does seem to me to conflict with how min and step is handled by browsers."	Bug	closed	Forms	dev	Normal	fixed		Jacob Rief Kapil Bansal	Ready for checkin	1	0	0	0	0	0
