-
17 Dec 2012 11:26 AM #1
Unanswered: Dirtychange for combobox not working
Unanswered: Dirtychange for combobox not working
Attached the combobox to a panel with dirtychange listener.
the function triggers when when some text was typed on the combobox but when selecting from the dropdown options this function is not called.Code:listeners:{ dirtychange:function(){this.createETextField(arguments)} }
Am i making any mistake or understanding the "dirtychange" event wrongly?
thanks
-
19 Dec 2012 6:36 AM #2
I think "dirty" refers mainly to someone typing into the combo's input field. Otherwise, take a gander at the "change" and "select" events.
-
13 Feb 2013 9:21 AM #3
Whilst you're right, this presents a problem, because updateRecord respects the dirty flag of Fields.
So if a form does loadRecord, and then you select a new value in a combobox, and then updateRecord, your record doesn't get updated.
Am I missing something, or is this a bug?


Reply With Quote