---
title: "Feature: #29399 - OptionViewHelper and OptgroupViewHelper for use with SelectViewHelper"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:feature-29399"
source: "Changelog/8.5/Feature-29399-OptionViewHelperAndOptgroupViewHelperForUseWithSelectViewHelper.rst"
typo3-version: "8.5"
typo3-major: 8
type: "feature"
issue: 29399
forge: "https://forge.typo3.org/issues/29399"
tags: ["Fluid"]
rendered: "2026-09-18T17:00:34+00:00"
---

# Feature: #29399 - OptionViewHelper and OptgroupViewHelper for use with SelectViewHelper {#feature-29399}

See [forge#29399](https://forge.typo3.org/issues/29399)

## Description {#description}

Allows manually definition of 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!

Example:

```html
<f:form.select name="myproperty">
    <f:form.select.option value="1">Option one</f:form.select.option>
    <f:form.select.option value="2">Option two</f:form.select.option>
    <f:form.select.optgroup>
        <f:form.select.option value="3">Grouped option one</f:form.select.option>
        <f:form.select.option value="4">Grouped option twi</f:form.select.option>
    </f:form.select.optgroup>
</f:form.select>
```

## Impact {#impact}

-   Adds two new ViewHelpers
-   Changes `SelectViewHelper` to allow tag content (but not manual options created without using `f:form.select.*`)
