« Previous | Next » 

Revision 8f7bd506


Added by Julian Wachholz almost 8 years ago

[FEATURE] Add generic data-* attribute

All elements in HTML5 can have any number of data-* attributes.
This additional array attribute on tag bases viewhelpers makes
it easier to add several data-* attributes to them::

<f:form.textfield data="{foo: 'bar', baz: 'foos'}" />

Will render::

<input data-foo="bar" data-baz="foos" ...

Change-Id: I3187e9a8d2c97f0518893a633bc773bacb624ca5
Resolves: #35748
Releases: master

  • added
  • modified
  • copied
  • renamed
  • deleted