fix bug, when we use colorpicker with noninput element