-
20 Nov 2012 8:34 AM #1
Hidden field returns string after boolean is set
Hidden field returns string after boolean is set
Ext version tested:
- Ext 4.1.1rc1
- FF
- Set multiple values using MyForm.getForm().setValues( [object] )
- see test case
- boolean to be returned
- string is returned
http://jsfiddle.net/dbVdJ/5/
-
20 Nov 2012 1:18 PM #2
This isn't a bug. A hidden field is just a text field with input type set to hidden. It would be the same as doing:
Code:textfield.setValue(1); console.log(textfield.getValue());
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
-
20 Nov 2012 2:42 PM #3
Ok - fair enough. Thanks for the response
Looks like we can't reproduce the issue or there's a problem in the test case provided.


Reply With Quote