Skip to content

Commit

Permalink
[BUGFIX] Avoid rendering warning in DbFieldLength section (#907)
Browse files Browse the repository at this point in the history
Rendering warning:

./Documentation/ColumnsConfig/Type/Select/Properties/DbFieldLength.rst:30: CRITICAL: Unexpected section title.

Releases: main
  • Loading branch information
brotkrueml authored Jan 13, 2024
1 parent 2c13b65 commit 0dca7d3
Showing 1 changed file with 19 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,22 @@ dbFieldLength
use :php:`dbFieldLength` for :php:`type=select` fields to increase or
decrease the default length.

Example
=======

.. code-block:: php
:caption: Excerpt from EXT:my_extension/Configuration/TCA/myextension_domain_model_mytable.php
'my_field' => [
'label' => 'My field',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [
['label' => '', 'value' => ''],
['label' => 'Some label', 'value' => 'some'],
['label' => 'Another label', 'value' => 'another'],
],
'default' => '',
'dbFieldLength' => 10,
],
Example
=======

.. code-block:: php
:caption: Excerpt from EXT:my_extension/Configuration/TCA/myextension_domain_model_mytable.php
'my_field' => [
'label' => 'My field',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [
['label' => '', 'value' => ''],
['label' => 'Some label', 'value' => 'some'],
['label' => 'Another label', 'value' => 'another'],
],
'default' => '',
'dbFieldLength' => 10,
],

0 comments on commit 0dca7d3

Please sign in to comment.