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/src/Symfony/Component/Form/Tests
Fabien Potencier e51c560ad4 merged branch acasademont/patch-1 (PR #7678)
This PR was merged into the master branch.

Discussion
----------

[Form] Remove "value" attribute on empty_value option

Today we faced a very strange issue with the newest Blackberry 10 browser, it was not submitting our forms. Finally we found that in a ```select``` element, if you have a disabled option, it can't have a value or the HTML5 validator will crash and won't submit the form. Of course, setting the ```novalidate``` option for the whole form also solved the issue.

Although I know this must be an issue with the WebKit version the BB10 has, it can easily be solved in symfony with this change. In fact, it does make sense since we already have a disabled option with no value if the ```preferred_choices``` are not empty and a ```separator``` is set

Commits
-------

9e849eb [Form] Remove "value" attribute on empty_value option
2013-04-18 10:34:46 +02:00
..
Extension merged branch bschussek/intl (PR #7386) 2013-04-18 09:30:57 +02:00
Fixtures [PropertyAccess] Extracted PropertyAccess component out of Form 2013-01-10 09:49:37 +01:00
Guess [Form] replaced UnexpectedValueException by InvalidArgumentException in Guess 2012-08-28 08:15:56 +02:00
AbstractDivLayoutTest.php [Form] Implemented support for buttons 2013-04-13 16:46:28 +02:00
AbstractExtensionTest.php moved component and bridge unit tests to the src/ directory 2012-03-29 08:37:22 +02:00
AbstractFormTest.php Move FormInterface too 2012-12-17 09:01:30 +01:00
AbstractLayoutTest.php merged branch acasademont/patch-1 (PR #7678) 2013-04-18 10:34:46 +02:00
AbstractTableLayoutTest.php [Form] Implemented support for buttons 2013-04-13 16:46:28 +02:00
CompoundFormPerformanceTest.php [Form] '@group benchmark' for form performance tests 2012-07-14 16:20:31 +02:00
CompoundFormTest.php [Form] removed deprecated methods and classes 2013-03-23 11:48:19 +01:00
FormBuilderTest.php [Form] Removed deprecated code scheduled for removal in 2.3 2013-04-13 16:46:29 +02:00
FormConfigTest.php [Form] Improved Form::add() and FormBuilder::add() to accept integers as field names 2012-12-18 11:56:22 +01:00
FormFactoryBuilderTest.php [Form] allowed no type guesser to be registered 2012-11-09 13:51:19 +01:00
FormFactoryTest.php [Form] Added leading backslashes to @exceptionMessage doc blocks 2013-04-13 16:46:29 +02:00
FormIntegrationTestCase.php Removed some leaking deprecation warning in the Form component 2013-02-19 08:14:41 +01:00
FormPerformanceTestCase.php Nsdocblocks 2012-10-20 09:10:30 +02:00
FormRegistryTest.php [Form] removed deprecated methods and classes 2013-03-23 11:48:19 +01:00
FormRendererTest.php fixed CS 2013-03-01 11:46:19 +01:00
ResolvedFormTypeTest.php [Form] Removed deprecated code scheduled for removal in 2.3 2013-04-13 16:46:29 +02:00
SimpleFormTest.php [CS Fix] Consistent coding-style of concatenation operator usage 2013-04-02 10:39:57 +01:00