TYPO3 v15 dev-main snapshot ()

This commit is contained in:
2026-08-10 22:31:09 +02:00
commit af8cc155b5
6818 changed files with 642608 additions and 0 deletions
@@ -0,0 +1,32 @@
.. include:: /Includes.rst.txt
.. _feature-61351:
=========================================================
Feature: #61351 - Add data attribute to Fluid ViewHelpers
=========================================================
See :issue:`61351`
Description
===========
Since HTML5 Elements can contain a generic data attribute,
Fluid provides for those elements the possibility to add
key-value pairs as array, which will be rendered as
`data-$key="$value"`.
.. code-block:: html
<f:form.textfield data="{foo: 'bar', baz: 'foos'}" />
Impact
======
Generic data attributes do not need to be passed by the
`additionalAttributes` array anymore making the viewhelper
more straightforward to use.
.. index:: Fluid