This repository was archived by the owner on Jan 30, 2020. It is now read-only.
This repository was archived by the owner on Jan 30, 2020. It is now read-only.
OpenTag Helper - allow "itemprop", "itemscope" and "itemtype" for microdata as attributes #179
Open
Description
I tried to add some microdata to my form:
$form->setAttributes([
'itemprop' => 'potentialAction',
'itemscope' => 'itemscope',
'itemtype' => 'http://schema.org/SearchAction'
]);
This does not work, as the specified attributes are not added if I render the form's open tag:
$this->form()->openTag($form);
Any workaround to get this specific attributes working?