PDA

View Full Version : [FIXED] BUG in xds-1.0.2.13



oaugustus
1 Sep 2010, 11:20 AM
Hi guys,

I have found a bug in last update of ExtDesigner xds-1.0.2.13. The problem is related to autoRef property, in my case. The situation is: I have changed the value of minChars in my combobox on the form component, the code generated by the new version is:



{
xtype: 'combo',
fieldLabel: 'Equipamento',
anchor: '100%',
displayField: 'equipamento',
valueField: 'id',
triggerAction: 'all',
name: 'equipamento_id',
hiddenName: 'equipamento_id',
allowBlank: false,
ref: 'cmbEquipamento',
initialConfig: Ext.apply(this.initialConfig, {
minChars: 1
})
}
In the prior version the code was:


{
xtype: 'combo',
fieldLabel: 'Equipamento',
anchor: '100%',
displayField: 'equipamento',
valueField: 'id',
triggerAction: 'all',
name: 'equipamento_id',
hiddenName: 'equipamento_id',
allowBlank: false,
ref: 'cmbEquipamento',
minChars: 1
}
This affects the ref property on the component class, and I don't know why this occurs, but this.cmbEquipamento is undefined is the error when I try to access this field by your ref.

jarrednicholls
1 Sep 2010, 11:47 AM
Hi Otavio,

I have already corrected this bug for another release later this evening. I apologize for the inconvenience and appreciate your reporting this issue.

Thanks,
Jarred

intro
2 Sep 2010, 3:26 PM
i think it is the same problem like in my case ? mabe :)

http://http://www.sencha.com/forum/showthread.php?108771-Hi-when-i-try-to-submit-form-i-can-not-get-on.click-to-work..-after-update-designer