Skip to content

Commit 1d94ec6

Browse files
committed
minor #2980 [LiveComponent][Docs] Fix typo on Valid constraint name (Seb33300)
This PR was merged into the 2.x branch. Discussion ---------- [LiveComponent][Docs] Fix typo on `Valid` constraint name | Q | A | ------------- | --- | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Docs? | yes <!-- required for new features --> | Issues | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT Related to #2974 Commits ------- 00d25be [Doc] Fix Valid constraint name
2 parents 9d1560c + 00d25be commit 1d94ec6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LiveComponent/doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2256,7 +2256,7 @@ need::
22562256
public bool $agreeToTerms = false;
22572257
}
22582258

2259-
Be sure to add the ``IsValid`` attribute/annotation to any property
2259+
Be sure to add the ``Valid`` attribute/annotation to any property
22602260
where you want the object on that property to also be validated.
22612261

22622262
Thanks to this setup, the component will now be automatically validated

0 commit comments

Comments
 (0)