Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions reference/constraints/Choice.rst
Original file line number Diff line number Diff line change
Expand Up @@ -389,3 +389,25 @@ Parameter Description
=============== ==============================================================

.. include:: /reference/constraints/_payload-option.rst.inc

``separator``
~~~~~~~~~~~~~

**type**: ``string`` **default**: ``-------------------``

This option allows you to customize separator after preferred choices.

.. versionadded:: 7.1

The ``separator`` option was introduced in Symfony 7.1.

``separator_html``
~~~~~~~~~~~~~~~~~~

**type**: ``boolean`` **default**: ``false``

If this option is true, `separator`_ option will be display as HTML instead of text

.. versionadded:: 7.1

The ``separator_html`` option was introduced in Symfony 7.1.