symfony/symfony — pull request #9759 by stewe (2013-12-14 11:05:40+00:00)
Title: [WIP] [Form] Add min and max attributes to integer types

| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #6732
| License | MIT

We worked on issue #6732 and we added automatically `min` and `max` attributes to integer type based on Range validator.
It should work also for numeric type, but at the moment it is being rendered as "text" input type. Is there a specific reason beside the comment "type="number" doesn't work with floats"?

We are now working on implementing a guess{Max|Min}Value on Doctrine and Propel guesser.

--
Credits: @dlondero