Looks like we can't reproduce the issue or there's a problem in the test case provided.
-
Sencha Premium Member
Hidden field returns string after boolean is set
Ext version tested:
Browser versions tested against:
Description:
- Set multiple values using MyForm.getForm().setValues( [object] )
Steps to reproduce the problem:
The result that was expected:
The result that occurs instead:
Test Case:
http://jsfiddle.net/dbVdJ/5/
-
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());
Twitter - @evantrimboli
Former Sencha framework engineer, available for consulting.
As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.
-
Sencha Premium Member
Ok - fair enough. Thanks for the response