-
12 Oct 2011 10:48 PM #1
Text Field Listeners returning inappropriate field object
Text Field Listeners returning inappropriate field object
Hi,
This is workaround which shows issue with listerners like keyup, focus ,blur associated with textfied.
First param of each of these should be field object reference but it is not what i'm getting. But for change event it works fine.
Code:{ xtype: 'textfield', name : 'name', label: 'Name', useClearIcon: true, autoCapitalize : false, listeners : { keyup: function(field) { console.log(field,"keyup"); }, focus: function(field) { console.log(field,"focus"); }, change: function(field) { // works fine console.log(field.getValue(),"change"); }, blur: function(field) { console.log(field,"blur"); } } }
-
13 Oct 2011 7:29 AM #2Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,652
- Vote Rating
- 14
Thank you for the report, a cleaning up event signatures and making them more consistent is an issue we are looking to fix going forward.
Success! Looks like we've fixed this one. According to our records the fix was applied for
TOUCH-860
in
2.0.


Reply With Quote