public function elementValue(FormRuntime $formRuntime, RootRenderableInterface $element)
    {
        $request = $formRuntime->getRequest();
        /** @var Result $validationResults */
        $validationResults = $formRuntime->getRequest()->getInternalArgument('__submittedArgumentValidationResults');
        if ($validationResults !== null && $validationResults->forProperty($element->getIdentifier())->hasErrors()) {
            return $this->getLastSubmittedFormData($request, $element->getIdentifier());
        }
        return ObjectAccess::getPropertyPath($formRuntime, $element->getIdentifier());
    }