I try to add a new container to my layout. The container needs the attribute data-block='minicart'
<container name="minicart-wrapper" htmlTag="div" htmlClass="minicart-wrapper" data-block='minicart'/>
If I try this I get
Element 'container', attribute 'data-block': The attribute 'data-block' is not allowed.
More Code:
<referenceContainer name="header-wrapper">
<container name="header-row" label="Header Bootstrap" as="header-row" htmlTag="div" htmlClass="row">
<container name="header-row-col-a" htmlTag="div" htmlClass="col-2"/>
<container name="header-row-col-b" htmlTag="div" htmlClass="col-7"/>
<container name="header-row-col-c" htmlTag="div" htmlClass="col-3">
<container name="minicart-row" label="Wrapper" htmlTag="div" htmlClass="row no-gutters minicart-wrapper"> <--- Need data-block="minicart" here
<container name="mini-wk" label="Top" htmlTag="div" htmlClass="col-9 offset-3 mini-wk">
<container name="mini-wk-top" label="Top" htmlTag="div" htmlClass="mini-wk-top">
<container name="mini-wk-top-row" label="Top Row" htmlTag="div" htmlClass="row no-gutters">
<container name="mini-wk-top-row-col-a" label="Benutzerkonto" htmlTag="div" htmlClass="col-6"/>
<container name="mini-wk-top-row-col-b" label="Anmelden/Abmelden" htmlTag="div" htmlClass="col-6"/>
</container>
</container>
<container name="mini-wk-content" label="Minicart-Main" htmlTag="div" htmlClass="mini-wk-content row no-gutters"/>
</container>
</container>
</container>
</container>
</referenceContainer>