[FEATURE] ViewHelpers f:form.select.option and f:form.select.optgroup
Allows manually defining all options and optgroups for the f:form.select parent field as tag contents of the select field. The added ViewHelpers are TagBasedViewHelpers which means they support all standard HTML attributes. Note that while tag content rendering is now supported, it is *STILL* not possible to create ``<option>`` tags manually - you *HAVE* to use the form fields! Change-Id: I5f122f746a5309671ad0faf2feccda2d29fef4c7 Releases: master Resolves: #29399 Reviewed-on: https://review.typo3.org/48281 Reviewed-by:Jan Helke <typo3@helke.de> Tested-by:
Jan Helke <typo3@helke.de> Tested-by:
TYPO3com <no-reply@typo3.com> Reviewed-by:
Susanne Moog <susanne.moog@typo3.org> Tested-by:
Susanne Moog <susanne.moog@typo3.org>
Showing
- typo3/sysext/core/Documentation/Changelog/master/Feature-29399-OptionViewHelperAndOptgroupViewHelperForUseWithSelectViewHelper.rst 41 additions, 0 deletions...HelperAndOptgroupViewHelperForUseWithSelectViewHelper.rst
- typo3/sysext/fluid/Classes/ViewHelpers/Form/Select/OptgroupViewHelper.php 56 additions, 0 deletions...id/Classes/ViewHelpers/Form/Select/OptgroupViewHelper.php
- typo3/sysext/fluid/Classes/ViewHelpers/Form/Select/OptionViewHelper.php 88 additions, 0 deletions...luid/Classes/ViewHelpers/Form/Select/OptionViewHelper.php
- typo3/sysext/fluid/Classes/ViewHelpers/Form/SelectViewHelper.php 39 additions, 2 deletions...ysext/fluid/Classes/ViewHelpers/Form/SelectViewHelper.php
- typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/SelectViewHelperTest.php 1 addition, 1 deletion...luid/Tests/Unit/ViewHelpers/Form/SelectViewHelperTest.php
Please register or sign in to comment