Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One listitem can be selected several times, and it throws an Error #2

Open
lovelyelfpop opened this issue Oct 20, 2017 · 3 comments
Open

Comments

@lovelyelfpop
Copy link

lovelyelfpop commented Oct 20, 2017

I am using ExtJS 6.5.2.463 Modern

ext-modern-all-debug.js?_dc=1508472472171:2174 Uncaught Error: DOM element with id ext-mx_tagfield-1-tag-1 in Element cache is not the same as element in the DOM. Make sure to clean up Element instances using destroy()
at new Ext.Error (ext-modern-all-debug.js?_dc=1508472472171:2174)
at Function.raise (ext-modern-all-debug.js?_dc=1508472472171:2217)
at Object.Ext.raise (ext-modern-all-debug.js?_dc=1508472472171:2241)
at warnDuplicate (ext-modern-all-debug.js?_dc=1508472472171:25569)
at Function.get (ext-modern-all-debug.js?_dc=1508472472171:25624)
at Object.get (ext-modern-all-debug.js?_dc=1508472472171:29305)
at constructor.appendChild (ext-modern-all-debug.js?_dc=1508472472171:26142)
at constructor.append (ext-modern-all-debug.js?_dc=1508472472171:26132)
at constructor.addTag (TagField.js?_dc=1508472472171:97)
at constructor.onSelect (TagField.js?_dc=1508472472171:66)

@lovelyelfpop
Copy link
Author

It seems like a bug of Ext.dataview.selection.Model of ExtJS 6.5.2 Modern

@rhinosaurus
Copy link
Contributor

Can you provide some steps to reproduce this? It sounds like the tag element didn't get destroyed properly (or the same ID was present in the store)

@lovelyelfpop
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants