Yaroslav Kiliba
878dd91d37
[2.2] [Form] Trim listener, unicode whitespace characters.
2012-10-25 15:40:54 +02:00
Tobias Schultze
4a5dadb520
[Form] raise exception when label for choice cannot be read
2012-07-26 01:10:54 +02:00
Tobias Schultze
805393303c
[Form] fix ChoiceList and ObjectChoiceList when choices is a Traversable
2012-07-26 01:10:52 +02:00
Bernhard Schussek
686bf6b664
[Form] Made original data of a form and choices accessible in templates
2012-07-23 19:24:46 +02:00
Bernhard Schussek
400c95bb4d
[Form] Replace methods in ChoiceView by public properties (PHP +100ms, Twig +400ms)
2012-07-21 12:56:11 +02:00
Bernhard Schussek
d072f35ea0
[Form] The properties of FormView are now accessed directly in order to increase performance (PHP +200ms, Twig +150ms)
2012-07-21 12:56:11 +02:00
Bernhard Schussek
b4ec7f54eb
Fixed my rubbish English
2012-07-16 21:54:46 +02:00
Alexander
33f29ed174
[Form] '@group benchmark' for form performance tests
2012-07-14 16:20:31 +02:00
Bernhard Schussek
cd7835d8d2
[Form] Cached the form type hierarchy in order to improve performance
2012-07-13 20:39:30 +02:00
Bernhard Schussek
8298d8c260
[Form] Improved ChoiceType performance by caching ChoiceList objects
2012-07-12 12:35:56 +02:00
Bernhard Schussek
92abf5aace
[Form] Enabled error bubbling from the parts of a date/time field to the main field
2012-07-11 10:34:15 +02:00
Bernhard Schussek
7a76dbad20
[Form] Renamed the options "data_timezone" and "user_timezone"
2012-07-11 09:44:09 +02:00
Bernhard Schussek
ded6c0305c
[Form] DateTimeType now handles RFC 3339 dates as provided by HTML5
2012-07-11 09:06:31 +02:00
Bernhard Schussek
7e8b622802
[Form] Added the option "format" to DateTimeType
2012-07-10 17:23:19 +02:00
Bernhard Schussek
9eeb20044f
[Form] Changed the default format of DateType to "yyyy-MM-dd" to support HTML 5 out of the box
2012-07-10 16:10:57 +02:00
Bernhard Schussek
5b057f89b0
[Form] Fixed DateType to use "format" for creating the year and day choices
2012-07-10 14:53:17 +02:00
Bernhard Schussek
87fe4871cd
Revert "[Form] Add default validation to TextType field (and related)"
...
This reverts commit 49d2685bff
.
Conflicts:
src/Symfony/Component/Form/Extension/Core/DataTransformer/ValueToStringTransformer.php
src/Symfony/Component/Form/Extension/Core/Type/TextType.php
src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/ValueToStringTransformerTest.php
src/Symfony/Component/Form/Tests/Extension/Core/Type/UrlTypeTest.php
2012-07-10 11:56:29 +02:00
Fabien Potencier
4bab36b2c7
merged branch bschussek/issue3899 (PR #4813 )
...
Commits
-------
9c94b48
[Form] Fixed the "data" option to supersede default data set in the model
Discussion
----------
[Form] Fixed the "data" option to supersede default data set in the model
Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: #3899
Todo: -
2012-07-10 08:22:37 +02:00
Bernhard Schussek
9c94b48eeb
[Form] Fixed the "data" option to supersede default data set in the model
2012-07-09 21:04:24 +02:00
Bernhard Schussek
7727de73e5
[Form] Deprecated Form::bindRequest() and replaced it by a PRE_BIND listener
2012-07-09 20:34:45 +02:00
Bernhard Schussek
c0a520792b
[Form] Prevented duplicate validation of form constraints
2012-07-09 19:28:39 +02:00
Bernhard Schussek
e6b5595f79
[Form] Fixed display of empty values in DateType, TimeType and DateTimeType if they are not required
2012-07-09 17:53:01 +02:00
Bernhard Schussek
040ba8f3cd
[Form] Fixed: ChoiceType omits the "empty_value" option if the choices contain an empty element
2012-07-09 16:52:31 +02:00
Fabien Potencier
d100ffaf76
fixed CS
2012-07-09 14:54:20 +02:00
Bernhard Schussek
9bf6e8ba59
[Form] Compound forms now always need a data mapper. Otherwise an exception is thrown.
2012-07-06 15:33:06 +02:00
Bernhard Schussek
45d967e95e
[Form] Fixed: Empty forms can be compound too
2012-07-03 19:10:17 +02:00
Kris Wallsmith
c1e4166ead
moved create of default form label to view layer
2012-06-24 07:57:42 -07:00
Bernhard Schussek
a1cd8ae5d9
[Form] Removed invalid tests introduced again upon merge
2012-06-01 07:58:58 +02:00
Fabien Potencier
eba4aba364
merged 2.0
2012-05-30 13:44:37 +02:00
Fabien Potencier
223d187abc
merged branch vicb/form_updates (PR #4432 )
...
Commits
-------
a30f4a0
[Form] cleanup
Discussion
----------
[Form] cleanup
---------------------------------------------------------------------------
by travisbot at 2012-05-27T19:47:21Z
This pull request [fails](http://travis-ci.org/symfony/symfony/builds/1450050 ) (merged 09574f4b into adf07f1e
).
---------------------------------------------------------------------------
by travisbot at 2012-05-27T19:57:42Z
This pull request [passes](http://travis-ci.org/symfony/symfony/builds/1450149 ) (merged a8c63d72 into adf07f1e
).
---------------------------------------------------------------------------
by vicb at 2012-05-27T20:00:13Z
thanks a bunch @travisbot !
---------------------------------------------------------------------------
by travisbot at 2012-05-28T06:52:52Z
This pull request [passes](http://travis-ci.org/symfony/symfony/builds/1453555 ) (merged a30f4a03
into adf07f1e
).
---------------------------------------------------------------------------
by bschussek at 2012-05-28T09:20:05Z
Thank you Victor! 👍
2012-05-30 07:22:13 +02:00
Victor Berchet
a30f4a0350
[Form] cleanup
2012-05-28 08:48:06 +02:00
Bernhard Schussek
fc38e2b438
[Form] Fixed mapping of violations with empty paths to the root form
2012-05-27 14:53:01 +02:00
Fabien Potencier
05f9cfed0a
merged branch yethee/form_cleanup (PR #4417 )
...
Commits
-------
b4e2818
[Form] Using new methods instead of the deprecated
Discussion
----------
[Form] Using new methods instead of the deprecated
---------------------------------------------------------------------------
by travisbot at 2012-05-25T21:05:11Z
This pull request [passes](http://travis-ci.org/symfony/symfony/builds/1436891 ) (merged b4e28186
into ff4d446c
).
2012-05-26 08:38:09 +02:00
Deni
b4e2818608
[Form] Using new methods instead of the deprecated
2012-05-26 00:59:04 +04:00
Sergey Yuferev
c6881668fe
[Form] fixing form type translation_domain inheritance
...
fixed bug with parent property
fix is_required field
fixed subform translation_domain inheritance
some translation_domain inheritance code refactoring
added form type translation_domain inheritance tests
changed methods place in form type test
changed arguments in createNamed method call in FormTypeTest
2012-05-25 22:00:33 +04:00
Bernhard Schussek
8c23d7fdfe
[Form] Fixed: "error_mapping" is not an attribute anymore, but an option
2012-05-25 16:50:31 +02:00
Victor Berchet
bc15e2d68b
[Form] Some code cleanup
2012-05-25 12:34:17 +02:00
Victor Berchet
3d800afec3
[Form] Remove usages of deprecated features
2012-05-25 12:34:16 +02:00
Bernhard Schussek
2e6cdd15c5
[Form] Inverted the logic of "single_control" and renamed it to "compound". The opposite is now "simple".
2012-05-25 12:34:16 +02:00
Bernhard Schussek
98a7c0cf5f
[Form] Consolidated FormInterface, FormBuilderInterface and FormViewInterface
2012-05-25 12:34:16 +02:00
Bernhard Schussek
877d8f7195
[Form] Reversed the order of $type and $name in FormFactory::createNamed[Builder]()
2012-05-25 12:34:16 +02:00
Bernhard Schussek
33fecca210
[Form] Merged various form events and added class FormEvent
2012-05-25 12:34:16 +02:00
Bernhard Schussek
bec80157f9
[Form] Renamed client and application format to view and model format
2012-05-25 12:34:16 +02:00
Bernhard Schussek
2cd99e80b6
[Form] Added FormBuilderInterface and FormViewInterface and cleaned up FormTypeInterface and FormTypeExtensionInterface
2012-05-25 12:28:17 +02:00
Bernhard Schussek
0ef4066983
[Form] Options are now passed to buildView() and buildViewBottomUp()
2012-05-25 12:28:17 +02:00
Bernhard Schussek
bad6d040d7
[Form] Added accessor FormConfigInterface::getByReference() and let Form clone objects if not by reference
2012-05-23 14:51:26 +02:00
Bernhard Schussek
d1864c7d63
[Form] Fixed: Virtual forms are ignored when prepopulating a form
2012-05-23 14:46:45 +02:00
Kevin Dew
e92212ac13
[Form] Added valid attribute to a FormView
2012-05-22 12:51:19 +01:00
Bernhard Schussek
ac6939441f
[Form] Allowed native framework errors to be mapped as well
2012-05-22 09:30:21 +02:00
Bernhard Schussek
59d6b55137
[Form] Fixed: error mapping aborts if reaching an unsynchronized form
2012-05-22 09:30:21 +02:00