Results 1 to 2 of 2

Thread: Duplicate Reference warning

  1. #1
    Sencha Premium User
    Join Date
    Dec 2010
    Posts
    279
    Answers
    8

    Default Duplicate Reference warning

    I have a container that contains various components and all of them have a reference set. I use the removeAll() method to remove all the components from the container. If I then add any components back to the container that use the same reference names I get a duplicate reference warning. Does removeAll() not also remove the reference? I have tried using removeAll(true) to destroy the components but that did not help.

  2. #2
    Sencha Staff
    Join Date
    Sep 2017
    Posts
    126
    Answers
    1

    Default

    Hi,

    removeAll() method should delete all the components and also their reference, that would be great if you could share a fiddle for this issue so that we can go ahead and debug the issue.

Similar Threads

  1. [OPEN] Duplicate reference warning on lookup method use
    By yorl1n in forum Ext JS 6.x Bugs
    Replies: 10
    Last Post: 9 Feb 2018, 2:18 PM
  2. [OPEN] Ext.menu.DatePicker duplicate reference
    By kobayashi.masashi in forum Ext JS 6.x Bugs
    Replies: 0
    Last Post: 2 Aug 2016, 12:06 AM
  3. Image reference results in warning
    By P.verbrugge in forum Sencha Touch 2.x: Q&A
    Replies: 1
    Last Post: 20 Dec 2012, 4:25 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
  •