267 Commits

Author SHA1 Message Date
Javier Eguiluz
0f02579bc9 Merge branch '6.4' into 7.3
* 6.4:
  [Form] Mention conditional constraitns via form validation groups
2026-01-29 17:03:06 +01:00
Javier Eguiluz
9fb022496f [Form] Mention conditional constraitns via form validation groups 2026-01-29 16:02:26 +01:00
Javier Eguiluz
3ed889edd1 Merge branch '6.4' into 7.3
* 6.4:
  [Form] Explain more basic concepts about Symfony forms
2026-01-26 16:34:32 +01:00
Javier Eguiluz
2369a30abb [Form] Explain more basic concepts about Symfony forms 2026-01-26 16:33:11 +01:00
Javier Eguiluz
f985266bfe Merge branch '6.4' into 7.3
* 6.4:
  [Form] Merge some small articles into the main form article
2026-01-22 08:16:54 +01:00
Javier Eguiluz
d8cda71d78 [Form] Merge some small articles into the main form article 2026-01-22 08:07:49 +01:00
Javier Eguiluz
aa3b5fc5ae Merge branch '6.4' into 7.3
* 6.4:
  Minor reword
  [Form] form add extra data
2026-01-21 15:41:57 +01:00
Javier Eguiluz
d64c3e62d4 Minor reword 2026-01-21 15:41:44 +01:00
Javier Eguiluz
1b32115628 minor #20853 [Form] form add extra data (Arkalo2)
This PR was squashed before being merged into the 6.4 branch.

Discussion
----------

[Form] form add extra data

Commits
-------

31435ef4e [Form] form add extra data
2026-01-21 15:35:56 +01:00
Arkalo2
31435ef4ef [Form] form add extra data 2026-01-21 15:35:52 +01:00
Javier Eguiluz
b37d5cb932 minor #21620 [Validator] Consistently use Assert\... when referring to assertions (mpdude)
This PR was merged into the 7.3 branch.

Discussion
----------

[Validator] Consistently use `Assert\...` when referring to assertions

I noticed a slight inconsistency in the docs when showing examples of using `Constraint` classes. In some examples, the class is `use`d and shown with the short class name. In other cases, the `Symfony\Component\Validator\Constraints` namespace is used as `Assert`, and references being made as `Assert\NotBlank` and similar.

Personally, I like the `Assert\` prefix, since it triggers the "ah, that's a constraint" wiring in my head, but I don't mind. Generally, I'd prefer consistency, since I noticed that this caused confusion in my team.

Additionally, this PR fixes a few places where we are still showing the use of array-based options instead of named arguments, a change that was made in 7.3.

Commits
-------

4b4161faa Consistently use `Assert\...` when referring to assertions
2026-01-16 08:56:54 +01:00
Javier Eguiluz
0403aae2cb Merge branch '6.4' into 7.3
* 6.4:
  Remove some idioms and simplify expressions
2026-01-09 17:21:54 +01:00
Javier Eguiluz
ec70ebc249 Remove some idioms and simplify expressions 2026-01-07 17:36:05 +01:00
Matthias Pigulla
4b4161faa4 Consistently use Assert\... when referring to assertions 2025-12-03 13:40:29 +01:00
Javier Eguiluz
38d2041cf3 Merge branch '6.4' into 7.2
* 6.4:
  [Form][Validator] Merge all articles about using validation groups in forms
2025-07-04 08:41:12 +02:00
Javier Eguiluz
0d09f16df5 [Form][Validator] Merge all articles about using validation groups in forms 2025-07-04 08:40:53 +02:00
Wouter de Jong
84ead23b4f Merge remote-tracking branch 'origin/6.4' into 7.1
* origin/6.4:
  Replaced caution blocks with warning
2024-12-07 12:11:20 +01:00
Timo Bakx
3849004fcc Replaced caution blocks with warning
Fixes #20371

Both blocks are currently rendered identically. Keeping only one of the two makes it easier to contribute.

Some blocks were elevated to danger.
2024-12-07 12:02:55 +01:00
Javier Eguiluz
411cd509e0 [Form] Remove a legacy article 2024-09-26 11:11:38 +02:00
Oskar Stark
a1ab5fd92b Merge branch '6.4' into 7.0
* 6.4:
  use option name as link label
2024-04-29 12:21:13 +02:00
Oskar Stark
d90abb5cdb Merge branch '5.4' into 6.4
* 5.4:
  use option name as link label
2024-04-29 12:21:11 +02:00
Christian Flothmann
507eed36af use option name as link label 2024-04-27 10:23:41 +02:00
Javier Eguiluz
1d37d987f9 Merge branch '6.4' into 7.0
* 6.4:
  [Form]: add a tip for `debug:form` command
  Mention how to run the commands that create the testing database
  Mention the Symfony packages that don't follow the components versioning
2023-09-05 12:14:52 +02:00
Javier Eguiluz
f104d72b06 Merge branch '5.4' into 6.3
* 5.4:
  [Form]: add a tip for `debug:form` command
  Mention how to run the commands that create the testing database
  Mention the Symfony packages that don't follow the components versioning
2023-09-05 12:14:25 +02:00
Javier Eguiluz
3cf253a969 Reword 2023-09-05 12:10:38 +02:00
PEHAUT-PIETRI Valmont
4456abafde [Form]: add a tip for debug:form command 2023-09-05 09:19:46 +02:00
Oskar Stark
1173943272 Merge branch '6.4' into 7.0
* 6.4:
  [Form] add tailwindcss form theme docs
2023-08-16 22:55:07 +02:00
Oskar Stark
d7eaa31e62 Merge branch '5.4' into 6.3
* 5.4:
  [Form] add tailwindcss form theme docs
2023-08-16 22:55:04 +02:00
Kevin Bond
49470102e8 [Form] add tailwindcss form theme docs 2023-08-15 08:45:44 -04:00
Javier Eguiluz
87642ea533 Merge branch '6.4' into 7.0
* 6.4:
  [Form] Improve form validation section
2023-07-21 12:23:15 +02:00
Javier Eguiluz
7d49f56453 Merge branch '5.4' into 6.2
* 5.4:
  [Form] Improve form validation section
2023-07-21 12:22:36 +02:00
Javier Eguiluz
92e1dbfa21 Minor tweak 2023-07-21 12:22:03 +02:00
Jules Pietri
bb15e89454 [Form] Improve form validation section 2023-07-21 11:41:47 +02:00
Javier Eguiluz
bf08b82282 [Form] Remove the deprecated renderForm() shortcut 2023-07-05 13:08:30 +02:00
Javier Eguiluz
dd284aff26 minor #18439 Add type-hints and return types (alexandre-daubois)
This PR was merged into the 6.2 branch.

Discussion
----------

Add type-hints and return types

Here we go 🙂

Commits
-------

8728589b0 Add type-hints and return types
2023-06-21 12:04:31 +02:00
Alexandre Daubois
8728589b0f Add type-hints and return types 2023-06-20 21:43:52 +02:00
Javier Eguiluz
e1958b8b1d Merge branch '5.4' into 6.2
* 5.4:
  Adding more details on `action` and `method`
  Consistent naming of `FormLoginAuthenticator`
2023-06-12 17:54:02 +02:00
Javier Eguiluz
6856b7196f Minor tweaks 2023-06-12 17:30:56 +02:00
Alexandre Daubois
e33a1402db Add property types and return types in constraints and few other places 2023-06-02 13:28:21 +02:00
Maxime Morlet
8b3fc1b099 Update forms.rst
Typo!
2023-04-20 00:18:29 +02:00
Thomas Landauer
09d44cb493 Adding more details on action and method 2023-04-11 18:13:38 +02:00
Javier Eguiluz
491704c66b Merge branch '5.4' into 6.2
* 5.4:
  Remove index directive
2023-03-29 10:08:09 +02:00
Antoine Lamirault
d7e844d9f2 Remove index directive 2023-03-27 19:56:40 +02:00
Javier Eguiluz
5352f0ff8e Merge branch '6.1' into 6.2
* 6.1:
  [Notifier] Fix typo OneSignal DSN
  Fix blank space typo
  [Form] Add missing imports in unmapped fields example
2023-01-15 11:38:01 +01:00
Javier Eguiluz
298ba4836c Merge branch '5.4' into 6.0
* 5.4:
  [Notifier] Fix typo OneSignal DSN
  Fix blank space typo
  [Form] Add missing imports in unmapped fields example
2023-01-15 11:37:31 +01:00
Alexandre Daubois
57fae2a796 [Form] Add missing imports in unmapped fields example 2023-01-13 18:50:48 +01:00
Manuel Kießling
50bfc316f1 Remove paragraph on legacy_error_messages config
As the `legacy_error_messages` config node is deprecated since 6.2 (see https://github.com/symfony/symfony/pull/47598), it should probably not be mentioned in the docs any longer.
2022-11-29 09:47:25 +01:00
Javier Eguiluz
1544a18b3f Merge branch '6.1' into 6.2
* 6.1:
  docs: Add the mime type in the example
  [IntegerType] fix rounding_mode default value
  Minor (language) improvements
  [Messenger] Removing note docblock for MessageHandlerInterface
2022-10-11 17:52:26 +02:00
Javier Eguiluz
b4dddfd81d Merge branch '5.4' into 6.0
* 5.4:
  [IntegerType] fix rounding_mode default value
  Minor (language) improvements
2022-10-10 16:19:37 +02:00
Javier Eguiluz
e05e507eb2 Merge branch '4.4' into 5.4
* 4.4:
  Minor (language) improvements
2022-10-10 16:18:02 +02:00