Results 1 to 3 of 3

Thread: Container Cards and Alias's

    You found a bug! We've classified it as EXTJS-25986 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Jul 2017
    Posts
    52

    Default Container Cards and Alias's

    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"/>
    </Container>

    I get the error

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

  2. #2
    Sencha User
    Join Date
    Mar 2015
    Location
    Maryland
    Posts
    482

    Default

    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.

  3. #3
    Sencha User
    Join Date
    Mar 2015
    Location
    Maryland
    Posts
    482

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

Similar Threads

  1. Replies: 4
    Last Post: 14 Oct 2014, 5:07 AM
  2. Replies: 1
    Last Post: 19 Feb 2014, 1:04 PM
  3. cls cards
    By franciscojvp78 in forum Sencha Touch 2.x: Q&A
    Replies: 3
    Last Post: 10 Jul 2013, 12:05 PM
  4. Carousel Cards
    By Mantas322 in forum Sencha Touch 1.x: Discussion
    Replies: 4
    Last Post: 2 Nov 2010, 5:06 AM
  5. Swapping My Cards
    By cafebabe in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 31 Jan 2008, 11:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •