File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -525,7 +525,7 @@ class RandomNumberComponent implements LiveComponentInterface
525
525
526
526
When you trigger an action, a POST request is sent that contains
527
527
a ` X-CSRF-TOKEN ` header. This header is automatically populated
528
- and violated . In other words... you get CSRF protection without
528
+ and validated . In other words... you get CSRF protection without
529
529
any work.
530
530
531
531
Your only job is to make sure that the CSRF component is installed:
@@ -674,7 +674,7 @@ a `post_form` component that we will create next:
674
674
```
675
675
676
676
Ok: time to build that ` post_form ` component! The Live Components package
677
- come with a special trait - ` ComponentWithFormTrait ` - to make it easy to
677
+ comes with a special trait - ` ComponentWithFormTrait ` - to make it easy to
678
678
deal with forms:
679
679
680
680
``` php
@@ -1051,7 +1051,7 @@ class EditUserComponent implements LiveComponentInterface
1051
1051
Be sure to add the ` @Assert\IsValid ` to any property where you want
1052
1052
the object on that property to also be validated.
1053
1053
1054
- Tahnks to this setup, the component will now be automatically validated
1054
+ Thanks to this setup, the component will now be automatically validated
1055
1055
on each render, but in a smart way: a property will only be validated
1056
1056
once its "model" has been updated on the frontend. The system keeps track
1057
1057
of which models have been updated (e.g. ` data-action="live#update" ` )
You can’t perform that action at this time.
0 commit comments