Ext颜色选择器
这个控件虽然进行了一次BUG修复但是还是有问题,在IE下还是不稳定,偶尔会有问题。请谨慎使用!!!
这是老外扩展的一个Ext颜色选择器,非常的好用
效果图1:http://dl.iteye.com/upload/attachment/271551/edbcf118-cb6d-3c6c-ac66-1a35c91c8ca4.jpg
效果图2:http://dl.iteye.com/upload/attachment/271555/f575c7f9-27fa-3108-9a7f-46524725445c.jpg
BUG
我在使用的过程中发现这个选择器在 IE有一个bug,找了很久终于找到了修复方法
Hi Bucs,
i test my latest version of control and find, that it works fine in IE7(IE8 compatibility mode), IE8 and FF. Problem as i understand related to vtypes, to fix it, replace code in file Ext.ux.form.ColorPickerFieldPlus
Ext.form.VTypes["hex"] = function(v){ return /^#?([a-f]|[A-F]|[0-9]){3}(([a-f]|[A-F]|[0-9]){3})?$/.test(v); };