DigiComp.FluidRenderFunctions/Resources/Private/Templates/Tests/Functional/Fixtures/Test/Select.html
Ferdinand Kuhl 0de901d45c
Some checks failed
ci/woodpecker/push/code-style Pipeline was successful
ci/woodpecker/push/functional-tests/1 Pipeline failed
ci/woodpecker/push/functional-tests/2 Pipeline failed
ci/woodpecker/push/functional-tests/3 Pipeline failed
ci/woodpecker/push/functional-tests/4 Pipeline failed
First working version
2024-06-01 23:15:35 +02:00

8 lines
352 B
HTML

<f:layout name="Test" />
{namespace rf=DigiComp\FluidRenderFunctions\ViewHelpers}
<f:section name="Content"><f:spaceless>
<rf:registerRenderFunction as="testFunc">
{subject.name} is cool
</rf:registerRenderFunction>
<f:form.select options="{testEntities -> rf:applyRenderFunction(function: testFunc)}" />
</f:spaceless></f:section>