Touch Premium Member
Sencha Touch 2 colorpicker
I needed a colorpicker in my own project so I revised the one Mitchell wrote to make it work in ST2.
Since Sencha 2 does not have an extensions forum. I thought here should be an appropriate place to post it in case anybody may find it helpful.
It is on at https://github.com/Codier/Sencha-Touch-2-Colorpicker
Sencha - Sencha Touch Dev Team
Looks good. I added a few comments to your commits.
I couldn't get your version to work with the current Sencha v2, so I refactored it. The working result is here: https://gist.github.com/3696947
One minor bug - it seems to not select the right color unless you explicitly tap on the color. You can't just scroll to it and tap "done".
Will be looking for a fix and will update the gist if I fix it.
Cool! I can't wait to test this out.
Thank you for your reply. I replaced the original code in Ext.form.ux.touch.ColorPickerField.js with the updated code from your post, but I'm still getting - Uncaught TypeError: Cannot call method 'getPageBox' of null
Did you get this working?
Tags for this Thread