File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 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
525525
526526When you trigger an action, a POST request is sent that contains
527527a ` 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
529529any work.
530530
531531Your 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:
674674```
675675
676676Ok: 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
678678deal with forms:
679679
680680``` php
@@ -1051,7 +1051,7 @@ class EditUserComponent implements LiveComponentInterface
10511051Be sure to add the ` @Assert\IsValid ` to any property where you want
10521052the object on that property to also be validated.
10531053
1054- Tahnks to this setup, the component will now be automatically validated
1054+ Thanks to this setup, the component will now be automatically validated
10551055on each render, but in a smart way: a property will only be validated
10561056once its "model" has been updated on the frontend. The system keeps track
10571057of which models have been updated (e.g. ` data-action="live#update" ` )
You can’t perform that action at this time.
0 commit comments