This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/tests/Symfony/Tests/Component/Form
Fabien Potencier 7f32043f19 merged branch jalliot/file_widget (PR #2608)
Commits
-------

e83e00a Fixed rendering of FileType (value is not a valid attribute for input[type=file])

Discussion
----------

Fixed rendering of FileType

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -

According to the W3C validator, `value` is not a valid attribute for `input[type=file]`.

---------------------------------------------------------------------------

by fabpot at 2011/11/10 23:01:24 -0800

Instead of creating yet another block, what about modifying the `field_widget` to not render the `value` attribute if the value is empty? Also, the PHP template must be fixed too.

---------------------------------------------------------------------------

by jalliot at 2011/11/11 02:02:52 -0800

@fabpot Changed ;)
2011-11-11 22:01:59 +01:00
..
Extension Added tests for string fix in DateTimeToArrayTransformer (8351a11286). 2011-11-11 10:00:41 +01:00
Fixtures [Form] Reverted PR #1758. 2011-07-22 16:42:50 +02:00
Guess fixed CS 2011-06-08 19:56:59 +02:00
Util [Form] Simplified a bit FormUtil and extended test coverage 2011-10-07 12:04:26 +02:00
AbstractDivLayoutTest.php [Form] Improve unit tests for rendering 2011-06-22 10:27:21 +02:00
AbstractExtensionTest.php removed unused use statements 2011-10-29 11:56:30 +02:00
AbstractLayoutTest.php Fixed rendering of FileType (value is not a valid attribute for input[type=file]) 2011-11-11 11:01:38 +01:00
AbstractTableLayoutTest.php [Form] fixed xpath 2011-06-10 13:18:09 -07:00
FormBuilderTest.php removed unused use statements 2011-10-29 11:56:30 +02:00
FormFactoryTest.php Add missing "tearDown" functions, and some missing variable declaration (this saves for me almost 20MB when run all tests) 2011-06-16 15:06:36 +02:00
FormInterface.php fixed CS 2011-06-08 19:56:59 +02:00
FormTest.php [Form] simplified previous merge and fixed unit test 2011-07-04 12:13:46 +02:00
PropertyPathTest.php [Form] removed a constraint in PropertyPath as the path can definitely be an empty string for errors attached on the main form (when using a constraint defined with the 'validation_constraint' option) 2011-07-16 00:34:50 +02:00