I was working with Kendo ColorPicker and ColorPalette and I created a widget for serenity. Everything works perfect, except at the constructor time, I do not know the color. This is how is working now...
// [KendoColorPickerEditor(Columns=2, Palette = "['#000', '#333', '#666', '#999', '#ccc', '#fff']",Buttons =true,Preview =true)]
//Palette : "basic" | "websafe" | "['#000', '#333', '#666'] or leave blank"
[KendoColorPickerEditor( Buttons = true, Preview = true)]
public String Color
{
get { return Fields.Color[this]; }
set { Fields.Color[this] = value; }
}
A refresh method is needed to reload the properties changed after constructor...like the "Color" property
According to the accessibility spec, when the ColorPicker's popup is open, and the focus is on the last focusable element, pressing tab should focus the first focusable element in the popup. Instead, the focus moves out of the popup, to the next focusable element on the page.
Pressing tab again moves the focus out of the popup
Pressing tab should preserve the focus within the ColorPicker, to the first focusable item