protected function renderHiddenFieldForEmptyValue()
    {
        $emptyHiddenFieldNames = array();
        if ($this->viewHelperVariableContainer->exists(\TYPO3\Fluid\ViewHelpers\FormViewHelper::class, 'emptyHiddenFieldNames')) {
            $emptyHiddenFieldNames = $this->viewHelperVariableContainer->get(\TYPO3\Fluid\ViewHelpers\FormViewHelper::class, 'emptyHiddenFieldNames');
        }

        $fieldName = $this->getName();
        if (substr($fieldName, -2) === '[]') {
            $fieldName = substr($fieldName, 0, -2);
        }
        if (!isset($emptyHiddenFieldNames[$fieldName])) {
            $disabled = false;
            if ($this->tag->hasAttribute('disabled')) {
                $disabled = $this->tag->getAttribute('disabled');
            }
            $emptyHiddenFieldNames[$fieldName] = $disabled;
            $this->viewHelperVariableContainer->addOrUpdate(\TYPO3\Fluid\ViewHelpers\FormViewHelper::class, 'emptyHiddenFieldNames', $emptyHiddenFieldNames);
        }
    }