Skip to content

Commit fcb07eb

Browse files
committed
docs: add email validation rule to docs
1 parent 729f17e commit fcb07eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ struct RegistrationView: View {
302302
| `RegexValidationRule` | Pattern matching validation | `RegexValidationRule(pattern: "^\\d{3}-\\d{4}$", error: "Invalid phone format")` |
303303
| `URLValidationRule` | Validates URL format | `URLValidationRule(error: "Please enter a valid URL")` |
304304
| `CreditCardValidationRule` | Validates credit card numbers (Luhn algorithm) | `CreditCardValidationRule(error: "Invalid card number")` |
305+
| `EmailValidationRule` | Validates email format | `EmailValidationRule(error: "Please enter a valid email")` |
305306

306307
## Custom Validators
307308

0 commit comments

Comments
 (0)