Add color input type
This commit is contained in:
1 parent
5ad8377968
commit
b6b3693586
1 file changed
+14
@@ -869,6 +869,20 @@ class FormBuilder
|
|||||||
return $this->input('image', $name, null, $attributes);
|
return $this->input('image', $name, null, $attributes);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a color input field.
|
||||||
|
*
|
||||||
|
* @param string $name
|
||||||
|
* @param string $value
|
||||||
|
* @param array $options
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function color($name, $value = null, $options = [])
|
||||||
|
{
|
||||||
|
return $this->input('color', $name, $value, $options);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a submit button element.
|
* Create a submit button element.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in new issue
Block a user