[FEATURE] ViewHelpers f:form.select.option and f:form.select.optgroup 81/48281/10
authorClaus Due <claus@namelesscoder.net>
Tue, 24 May 2016 13:56:56 +0000 (15:56 +0200)
committerSusanne Moog <susanne.moog@typo3.org>
Fri, 2 Dec 2016 13:49:23 +0000 (14:49 +0100)
commit386f067e43a9524a6db9b4d75c2fb9d838972977
tree7a149a89b61b6000de1df9a4ec6b8b5b339b2fc2
parent5fb094bd4b37c8297afbd920b6e8b46bd42518d5
[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>
typo3/sysext/core/Documentation/Changelog/master/Feature-29399-OptionViewHelperAndOptgroupViewHelperForUseWithSelectViewHelper.rst [new file with mode: 0644]
typo3/sysext/fluid/Classes/ViewHelpers/Form/Select/OptgroupViewHelper.php [new file with mode: 0644]
typo3/sysext/fluid/Classes/ViewHelpers/Form/Select/OptionViewHelper.php [new file with mode: 0644]
typo3/sysext/fluid/Classes/ViewHelpers/Form/SelectViewHelper.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/SelectViewHelperTest.php