You found a bug! We've classified it as
EXTJS-16729 .
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.Destroying combobox in select listener causes error
Destroying combobox in select listener causes error
ExtJS 5.1.0.107
If you destroy a combobox in its select listener, you will receive the error "Cannot read property 'getRange' of null." This was not the case in 5.0.1
This fiddle demonstrates the error. Look in the console for the error.
Fyi: I'm using combobox selection to navigate away from the current screen, if anyone is wondering why I am destroying the combobox in its select listener.
[OPEN] Destroying combobox in select listener causes error
Aucun commentaire:
Enregistrer un commentaire