View Full Version : [OPEN] Container Cards and Alias's

20 Jul 2017, 12:06 AM
Appear to have found a bug using container card layouts when trying to make the activeItem to an id.

Even when using the code from the documentation:

<Container layout="card" activeItem="step-2">
<Container itemId="step-1"/>
<Container itemId="step-2"/>
<Container itemId="step-3"/>

I get the error

Uncaught Error: [Ext.createByAlias] Unrecognized alias: widget.step-2
at Ext.Inventory.instantiateByAlias

21 Jul 2017, 8:00 AM
I've filed this as bug internally. In the meantime, you could use a numeric index instead of an itemId as the value for the activeItem prop.

21 Jul 2017, 8:01 AM
Thanks for the report! I have opened a bug in our bug tracker.