heartcombo--simple_form/test
Jason Petersen 0332313300 Fix handling of 'size' attribute on numeric inputs
Validators complain that SimpleForm's numeric elements have a `size`
attribute. According to the [spec][1], `input` elements with a `type`
of `number` must not specify a `size`. This change removes the `size`
option, and updates an existing unit test to guard against regressions.

Users may still provide a `size` option manually, though it may produce
invalid markup in certain situations.

[1]: http://www.whatwg.org/specs/web-apps/current-work/multipage/number-state.html#number-state
2011-08-25 19:42:37 -07:00
..
action_view_extensions Refactored the code to remove the item_wrapper and collection_wrapper with nil value. Closes #291 2011-07-27 12:15:32 -03:00
components Improve model names lookup by ignoring explicit child index given to form builder. Closes #246 2011-05-22 13:24:13 -03:00
support Added required validator action dependant - feature #286 2011-08-10 16:00:12 +02:00
discovery_inputs.rb Add discovery tests. 2011-04-27 21:27:50 +02:00
error_notification_test.rb Tests green on 1.9.2 2010-09-27 21:05:37 -03:00
form_builder_test.rb Added required validator action dependant - feature #286 2011-08-10 16:00:12 +02:00
inputs_test.rb Fix handling of 'size' attribute on numeric inputs 2011-08-25 19:42:37 -07:00
simple_form_test.rb Tests pass. 2010-01-09 18:12:52 +01:00
test_helper.rb preload associations if possible 2011-04-29 21:23:42 +02:00