16 Dec 2011 4:45 AM #1
[PR3] using getValue and setValue attributes raise exception in Ext.field.Spinner
I use Sencha Touch 2.0.0 Preview Release 3 and I found something is wrong with examples and with the API.
First, Ext.Field.Spinner example at http://docs.sencha.com/touch/2-0/#!/....field.Spinner is using:
There is no incrementValue, it should be increment instead.
Second, minValue and maxValue also seem to be wrong. But that is the weird part because according to src/field/Spinner.js those names are correct...
To replicate the error I got please open an change examples/forms/src/index.js file from:
It will generate Uncaught TypeError: Property 'getMinValue' of object [object Object] is not a function at sencha-touch-all-debug-w-comments.js:58160
The same if I use
Uncaught TypeError: Property 'getMaxValue' of object [object Object] is not a function at sencha-touch-all-debug-w-comments.js:58161
What is wrong?
16 Dec 2011 6:54 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Thank you for the report.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
19 Jan 2012 9:01 AM #3
All of the listed issues have been fixed for the next release.