src/help/docs/TagsController.php
public function field($select = 1, $range = 0, $date = '2015-01-01', $color = 'ff0000')
	{
		$splits =
		[
			[
				'operator' => '<code>|</code>',
				'grouping' => 'attributes',
				'example' => '<code>min:0|max:100</code>',
			],
			[
				'operator' => '<code>:</code>',
				'grouping' => 'attribute name / attribute value',
				'example' => '<code>step:5</code>',
			],
			[
				'operator' => '<code>,</code>',
				'grouping' => 'options (<code>select</code> and <code>datalist</code> only)',
				'example' => '<code>foo,bar,baz</code>',
			],
			[
				'operator' => '<code>=</code>',
				'grouping' => 'option text / option value',
				'example' => '<code>Yes=1</code>',
			],
		];

		$format = 'html:example|cols:100,400,200';

		$params = Sketchpad::$params;

		return view('sketchpad::help/tags/field', compact('types', 'attributes', 'format', 'params', 'splits'));
	}
public function field($select = 1, $range = 0, $date = '2015-01-01', $color = 'ff0000')
	{
		$splits =
		[
			[
				'operator' => '<code>|</code>',
				'grouping' => 'attributes',
				'example' => '<code>min:0|max:100</code>',
			],
			[
				'operator' => '<code>:</code>',
				'grouping' => 'attribute name / attribute value',
				'example' => '<code>step:5</code>',
			],
			[
				'operator' => '<code>,</code>',
				'grouping' => 'options (<code>select</code> and <code>datalist</code> only)',
				'example' => '<code>foo,bar,baz</code>',
			],
			[
				'operator' => '<code>=</code>',
				'grouping' => 'option text / option value',
				'example' => '<code>Yes=1</code>',
			],
		];

		$format = 'html:example|cols:100,400,200';

		$params = Sketchpad::$params;

		return view('sketchpad::help/tags/field', compact('types', 'attributes', 'format', 'params', 'splits'));
	}
public function field ( $ select = 1 , $ range = 0 , $ date = '2015-01-01' , $ color = 'ff0000' ) { $ splits = [ [ 'operator' => '<code>|</code>' , 'grouping' => 'attributes' , 'example' => '<code>min:0|max:100</code>' , ] , [ 'operator' => '<code>:</code>' , 'grouping' => 'attribute name / attribute value' , 'example' => '<code>step:5</code>' , ] , [ 'operator' => '<code>,</code>' , 'grouping' => 'options (<code>select</code> and <code>datalist</code> only)' , 'example' => '<code>foo,bar,baz</code>' , ] , [ 'operator' => '<code>=</code>' , 'grouping' => 'option text / option value' , 'example' => '<code>Yes=1</code>' , ] , ] ; $ format = 'html:example|cols:100,400,200' ; $ params = Sketchpad :: $ params ; return view ( 'sketchpad::help/tags/field' , compact ( 'types' , 'attributes' , 'format' , 'params' , 'splits' ) ) ; }
Override basic HTML inputs with more complex HTML input types and attributes

@group Input / Output

@param int       $select
@field select    $select     options:One=1,Two=2,Three=3

@param int       $range
@field number    $range      min:0|max:100|step:5

@param string    $date
@field date      $date

@param string    $color
@field color     $color
Override basic HTML inputs with more complex HTML input types and attributes