Skip to content

Commit f1427a1

Browse files
committed
Update README
1 parent 6d0b348 commit f1427a1

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Will be replaced by:
141141
type="text"
142142
name="name"
143143
id="name"
144-
value="{!! e(old('name'), false) !!}"
144+
value="{{ old('name') }}"
145145
>
146146
```
147147

@@ -160,7 +160,7 @@ Will be replaced by:
160160
<input
161161
type="text"
162162
name="name[0]"
163-
value="{!! e(old('name.0'), false) !!}"
163+
value="{{ old('name.0') }}"
164164
>
165165
```
166166

@@ -174,7 +174,7 @@ integrate the replacement function into the output result like this:
174174
<input
175175
type="text"
176176
name="name[0]"
177-
value="{!! e(old(str_replace(['.', '[]', '[', ']'], ['_', '', '.', ''], 'name['.$index.']')), false) !!}"
177+
value="{{ old(str_replace(['.', '[]', '[', ']'], ['_', '', '.', ''], 'name['.$index.']')) }}"
178178
>
179179
```
180180

@@ -200,7 +200,7 @@ Will be replaced by:
200200
type="checkbox"
201201
name="name[]"
202202
value="1"
203-
@checked (in_array('1', (array) old('name')))
203+
@checked(in_array('1', (array) old('name')))
204204
>
205205
```
206206

@@ -217,7 +217,7 @@ It will appear like this:
217217
type="checkbox"
218218
name="name[]"
219219
value="1"
220-
@checked (! old() ? true : in_array('1', (array) old('name')))
220+
@checked(! old() ? true : in_array('1', (array) old('name')))
221221
>
222222
```
223223

@@ -257,7 +257,7 @@ Will be replaced by:
257257
type="text"
258258
name="name"
259259
id="name"
260-
value="{!! e(old('name'), false) !!}"
260+
value="{{ old('name') }}"
261261
>
262262
```
263263

@@ -285,7 +285,7 @@ Will be replaced by:
285285
type="text"
286286
name="name"
287287
id="name"
288-
value="{!! e(old('name'), false) !!}"
288+
value="{{ old('name') }}"
289289
{{-- @TODO CHECK OPTIONS: array_merge($defaultOptions, [
290290
'size' => 50,
291291
'required',

0 commit comments

Comments
 (0)