Skip to content

Commit 1f7884b

Browse files
authored
HTML5 selected attribute (laravel#8186)
Insted of selected="selected", that sounds very old and to prevent horizzontal scroll on desktop
1 parent 61711a6 commit 1f7884b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blade.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ In addition to public variables being available to your component template, any
819819
You may execute this method from your component template by invoking the variable matching the name of the method:
820820

821821
```blade
822-
<option {{ $isSelected($value) ? 'selected="selected"' : '' }} value="{{ $value }}">
822+
<option {{ $isSelected($value) ? 'selected' : '' }} value="{{ $value }}">
823823
{{ $label }}
824824
</option>
825825
```

0 commit comments

Comments
 (0)