Skip to content

Commit

Permalink
[BUGFIX] Restore optional nature of "label" argument
Browse files Browse the repository at this point in the history
Allows using flux:field without label, causing the label
to be resolved from XLF file of provider extension.

Close: #1890
  • Loading branch information
NamelessCoder committed Dec 5, 2021
1 parent 86220d1 commit 521b5ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/ViewHelpers/FieldViewHelper.php
Expand Up @@ -25,7 +25,7 @@ public function initializeArguments()
{
$this->registerArgument('type', 'string', 'TCA field type', true);
$this->registerArgument('name', 'string', 'Name of the attribute, FlexForm XML-valid tag name string', true);
$this->registerArgument('label', 'string', 'Label for field', true);
$this->registerArgument('label', 'string', 'Label for field');
$this->registerArgument('exclude', 'bool', 'Set to FALSE if field is not an "exclude" field', false, false);
$this->registerArgument('config', 'array', 'TCA "config" array', false, []);
$this->registerArgument(
Expand Down

0 comments on commit 521b5ec

Please sign in to comment.