{namespace vh=Newland\NeosViewHelpers\ViewHelpers}

<input
    type="hidden"
    name="{queryString}"
    value="{state}"
    {vh:render(section: 'attributes', arguments: {attributes: configuration.attributes})} />

<f:section name="attributes">
    <f:for each="{attributes}" as="value" key="key">
        {key}="{value}"
    </f:for>
</f:section>
