私は2つを持っていますExtjs Comboboxes
var cb1 = new Ext.form.ComboBox({
fieldLabel: 'Combobox1',
width: 100,
listeners:{
scope: this,
'select': this.reset
}
});
var cb2 = new Ext.form.ComboBox({
fieldLabel: 'Combobox2',
width: 100,
baseParams: { loadInitial: true, cb1Val: this.cb1.getValue() } // Here I want to get selected value of cb1
listeners:{
scope: this,
'select': this.reset
}
});
this.cb1.getValue()
選択した値を取得するために使用していますがcb1
、ここでは空白の値を取得しています。
ここで私が間違っていることを誰かに教えてもらえますか。