edit validation.md: remove stray comma (#31643)
* edit validation.md: remove stray comma * edit validation.md make same change here as for `aspnetcore/tutorials/razor-pages/validation.md` * Update validation.md * Update validation.md --------- Co-authored-by: Luke Latham <1622880+guardrex@users.noreply.github.com>pull/31648/head
parent
ee9840d7c1
commit
d22162917f
|
@ -14,8 +14,7 @@ The validation attributes specify behavior that you want to enforce on the model
|
|||
* The `RegularExpression` attribute is used to limit what characters can be input. In the preceding code, "Genre":
|
||||
|
||||
* Must only use letters.
|
||||
* The first letter is required to be uppercase. White spaces are allowed while numbers, and special
|
||||
characters are not allowed.
|
||||
* The first letter must be uppercase. White spaces are allowed, while numbers and special characters aren't allowed.
|
||||
|
||||
* The `RegularExpression` "Rating":
|
||||
|
||||
|
|
|
@ -46,8 +46,7 @@ The validation attributes specify behavior to enforce on the model properties th
|
|||
* The `[RegularExpression]` attribute is used to limit what characters can be input. In the preceding code, `Genre`:
|
||||
|
||||
* Must only use letters.
|
||||
* The first letter is required to be uppercase. White spaces are allowed while numbers, and special
|
||||
characters are not allowed.
|
||||
* The first letter must be uppercase. White spaces are allowed, while numbers and special characters aren't allowed.
|
||||
|
||||
* The `RegularExpression` `Rating`:
|
||||
|
||||
|
|
Loading…
Reference in New Issue