Merge pull request #119 from mul14/add-color-input-type
Add color input type
This commit is contained in:
commit
292a4787a4
1 file changed
+14
@@ -869,6 +869,20 @@ class FormBuilder
|
||||
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.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user