PDA

View Full Version : [INFOREQ] An Issue with widget on grid editor



Burunito
26 May 2017, 5:30 AM
Well i have a grid editor with a ceolumn with a combo box on a widget, the problem is that i got Uncaught TypeError: Cannot read property 'value' of null.
I have a button to add elements to grid, when i select the combo and refresh the store randomly it crashes, sometimes at first time, sometimes take a little more, but always get a exception.
Here is the example in the fiddle
https://fiddle.sencha.com/#view/editor&fiddle/2044

Ext version tested:



Ext 6.0.0 rev 640




Browser versions tested against:



UC BROWSER 6.1
CHROME 58.0.3029




Description:



Exception while loading store on combobox with a widget on a editable grid.




Steps to reproduce the problem:



Add elements with add button
Select items on the combo until error produce




The result that was expected:



Uncaught TypeError: Cannot read property 'value' of null.

evant
28 May 2017, 5:21 PM
Can you reproduce this with the latest version?

Burunito
5 Jun 2017, 8:36 AM
no, it works on lastest, only appears on 6.0.x and is when the store of the combobox on the widget load its store, load store produce the error, the only way i found to fix is is loading the store with a data on the store config, that avoid the error, but is any other way to fix it without adding data to store?

Burunito
5 Jun 2017, 8:46 AM
wtf i dont know why my first post dissappear xd
Well i have a grid editor with a ceolumn with a combo box on a widget, the problem is that i got Uncaught TypeError: Cannot read property 'value' of null.
I have a button to add elements to grid, when i select the combo and refresh the store randomly it crashes, sometimes at first time, sometimes take a little more, but always get a exception.
Here is the example in the fiddle
https://fiddle.sencha.com/#view/editor&fiddle/2044

Ext version tested:



Ext 6.0.0 rev 640




Browser versions tested against:



UC BROWSER 6.1
CHROME 58.0.3029




Description:



Exception while loading store on combobox with a widget on a editable grid.




Steps to reproduce the problem:



Add elements with add button
Select items on the combo until error produce




The result that was expected:



Uncaught TypeError: Cannot read property 'value' of null.