Jan 15, 2015, 3:50 PM
[CLOSED] combobox with forceselection and change listener + listeners for hidden buttons
Hello,
1.
I noticed that if a Button is hidden in definition, and then made visible, the events in Listeners doesn't raise any more ( hidding the button doesn't raise events any more )
Prior to v3.0, in combobox with forceselection='true' when typing 'some text', on change event the field Value=null and the rawValue='some text' - so i could click on the RightButton (Add) attached to the combobox to save combobox.rawValue.
Now with v3.0 on change event the field Value equals rawValue = 'some text', and before i can click the RightButton (Add), forceselection raises and alters the combo's value to initial.
Is this the right behaviour with values/rawvalues ? Do i need to rethink my approach?
1.
I noticed that if a Button is hidden in definition, and then made visible, the events in Listeners doesn't raise any more ( hidding the button doesn't raise events any more )
<ext:Button ID="ButtonComboStraziAdd" runat="server" Icon="Add" Hidden="true">
<Listeners>
<Click Handler="console.log('change_event');" />
</Listeners>
</ext:Button>
2.Prior to v3.0, in combobox with forceselection='true' when typing 'some text', on change event the field Value=null and the rawValue='some text' - so i could click on the RightButton (Add) attached to the combobox to save combobox.rawValue.
Now with v3.0 on change event the field Value equals rawValue = 'some text', and before i can click the RightButton (Add), forceselection raises and alters the combo's value to initial.
Is this the right behaviour with values/rawvalues ? Do i need to rethink my approach?
Last edited by Daniil; Jan 30, 2015 at 2:40 PM.
Reason: [CLOSED]