Skip to content

Commit edb3e5f

Browse files
authored
Chore: Remove false attribute passing example from blade (#10825)
1 parent b31ea9c commit edb3e5f

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

blade.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -907,16 +907,6 @@ When passing attributes to components, you may also use a "short attribute" synt
907907
<x-profile :user-id="$userId" :name="$name" />
908908
```
909909

910-
If you would like to pass `false` to an attribute, you may prefix the attribute with `!`:
911-
912-
```blade
913-
{{-- Short attribute syntax... --}}
914-
<x-profile !margin />
915-
916-
{{-- Is equivalent to... --}}
917-
<x-profile :margin="false" />
918-
```
919-
920910
<a name="escaping-attribute-rendering"></a>
921911
#### Escaping Attribute Rendering
922912

0 commit comments

Comments
 (0)