Skip to content

Commit 754b022

Browse files
committed
Added missing parameter to From::select()
1 parent 4c2b8c1 commit 754b022

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

README.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -22,27 +22,27 @@ Usage
2222

2323
To use these snippets, type the trigger text followed by the `Tab` key.
2424

25-
| Trigger Text | Output |
26-
| ----------------- | ------------------------------------------------------- |
27-
| `formopen` | `{!! Form::open() !!}` |
28-
| `formclose` | `{!! Form::close() !!}` |
29-
| `formtoken` | `{!! Form::token() !!}` |
30-
| `formmodel` | `{!! Form::model($user, []) !!}` |
31-
| `formlabel` | `{!! Form::label($for, $text, []) !!}` |
32-
| `formtext` | `{!! Form::text($name, $value, []) !!}` |
33-
| `formtextarea` | `{!! Form::textarea($name, $value, []) !!}` |
34-
| `formpassword` | `{!! Form::password($name, []) !!}` |
35-
| `formhidden` | `{!! Form::hidden($name, $value, []) !!}` |
36-
| `formemail` | `{!! Form::email($name, $value, []) !!}` |
37-
| `formfile` | `{!! Form::file($name, []) !!}` |
38-
| `formcheckbox` | `{!! Form::checkbox($name, $value, $checked, []) !!}` |
39-
| `formradio` | `{!! Form::radio($name, $value, $checked, []) !!}` |
40-
| `formnumber` | `{!! Form::number($name, $value, []) !!}` |
41-
| `formdate` | `{!! Form::date($name, \Carbon\Carbon\::now(), []) !!}` |
42-
| `formselect` | `{!! Form::select($name, $optionsArray, []) !!}` |
43-
| `formselectrange` | `{!! Form::selectRange($name, $min, $max), [] !!}` |
44-
| `formselectmonth` | `{!! Form::selectMonth($name, []) !!}` |
45-
| `formsubmit` | `{!! Form::submit($text, []) !!}` |
25+
| Trigger Text | Output |
26+
| ----------------- | ------------------------------------------------------------- |
27+
| `formopen` | `{!! Form::open() !!}` |
28+
| `formclose` | `{!! Form::close() !!}` |
29+
| `formtoken` | `{!! Form::token() !!}` |
30+
| `formmodel` | `{!! Form::model($user, []) !!}` |
31+
| `formlabel` | `{!! Form::label($for, $text, []) !!}` |
32+
| `formtext` | `{!! Form::text($name, $value, []) !!}` |
33+
| `formtextarea` | `{!! Form::textarea($name, $value, []) !!}` |
34+
| `formpassword` | `{!! Form::password($name, []) !!}` |
35+
| `formhidden` | `{!! Form::hidden($name, $value, []) !!}` |
36+
| `formemail` | `{!! Form::email($name, $value, []) !!}` |
37+
| `formfile` | `{!! Form::file($name, []) !!}` |
38+
| `formcheckbox` | `{!! Form::checkbox($name, $value, $checked, []) !!}` |
39+
| `formradio` | `{!! Form::radio($name, $value, $checked, []) !!}` |
40+
| `formnumber` | `{!! Form::number($name, $value, []) !!}` |
41+
| `formdate` | `{!! Form::date($name, \Carbon\Carbon\::now(), []) !!}` |
42+
| `formselect` | `{!! Form::select($name, $optionsArray, $defaultKey, []) !!}` |
43+
| `formselectrange` | `{!! Form::selectRange($name, $min, $max), [] !!}` |
44+
| `formselectmonth` | `{!! Form::selectMonth($name, []) !!}` |
45+
| `formsubmit` | `{!! Form::submit($text, []) !!}` |
4646

4747

4848
Contributing

snippets/Form Select.sublime-snippet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<snippet>
22
<content><![CDATA[
3-
{!! Form::select(${1:\$name}, ${2:\$optionsArray}, [${3}]) !!}
3+
{!! Form::select(${1:\$name}, ${2:\$optionsArray}, ${3:\$defaultKey}, [${4}]) !!}
44
]]></content>
55
<tabTrigger>formselect</tabTrigger>
66
<scope>text.html</scope>

0 commit comments

Comments
 (0)