ashapiro75
25 Apr 2012, 6:28 AM
I saw this was a bug that was fixed in previously in Sencha Touch but it's happening to me when I am using Architect. Basically what I am doing is getting the value of a select field and setting a hidden field equal to the value of a select field.
This error happens after I set the value and after I log the value to the console. There is no more code left to execute after that. So I have no idea how this error is getting generated.
var hType = this.getHWindowType(); // this is a reference in the controller to a hidden field
var val = newValue.data.name; // name is the important part for me
var selector = selectfield.getId(); //this gets the id of the selector that triggered the function
... hType.setValue(val);
console.log(hType.getValue()); // The error shows up right after this executes.
...
This error happens after I set the value and after I log the value to the console. There is no more code left to execute after that. So I have no idea how this error is getting generated.
var hType = this.getHWindowType(); // this is a reference in the controller to a hidden field
var val = newValue.data.name; // name is the important part for me
var selector = selectfield.getId(); //this gets the id of the selector that triggered the function
... hType.setValue(val);
console.log(hType.getValue()); // The error shows up right after this executes.
...