for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace JeroenNoten\LaravelAdminLte\View\Components\Form;
class InputColor extends InputGroupComponent
{
/**
* The Bootstrap Colorpicker plugin configuration parameters. Array with
* key => value pairs, where the key should be an existing configuration
* property of the plugin.
*
* @var array
*/
public $config;
* Create a new component instance.
* Note this component requires the 'Bootstrap Colorpicker' plugin.
* @return void
public function __construct(
$name, $id = null, $label = null, $igroupSize = null, $labelClass = null,
$fgroupClass = null, $igroupClass = null, $disableFeedback = null,
$errorKey = null, $config = []
) {
parent::__construct(
$name, $id, $label, $igroupSize, $labelClass, $fgroupClass,
$igroupClass, $disableFeedback, $errorKey
);
$this->config = is_array($config) ? $config : [];
}
* Get the view / contents that represent the component.
* @return \Illuminate\View\View|string
public function render()
return view('adminlte::components.form.input-color');