From Learn About the Ext JavaScript Library
| Summary: A form field for colors, with color menu
|
| Author: bendy,Nullity,stever
|
| Published: 1 October 2007
|
| Version: 1.0.0
|
| Ext Version: 1.1
|
| License:
|
| Demo Link: No Demo
|
| Forum Post: View Post
|
Description
ColorField is a form field that allows you to choose a color from the menu or enter it manually. It validates that it starts with a # and that it is either 4 or 7 characters long. You can choose a default color by setting the field's emptyText property. Selected colors are displayed in the trigger.
ToDo
- Improve validation.
- Add optional alpha channel support.
- Optionally use color wheel from Extension:Yui_Color_Picker.
Changelog
Screenshot