prop(array('id', 'name', 'value', 'readonly', 'inputClass', 'colorName', 'colorValue', 'syncColor', 'hint')); if($syncColor === true) { if($id == null) $id = $this->gid; $syncColor = "#$id"; } return inputControl ( input(setClass($inputClass), set::id($id), set::name($name), set::readonly($readonly), set::value($value)), set::suffixWidth('icon'), to::suffix ( colorPicker ( set::name($colorName), set::value($colorValue), set::syncColor($syncColor), set::popPlacement('bottom-end'), set::heading($hint), set($this->getRestProps()) ) ) ); } }