cms
cms copied to clipboard
Forms: "add email" in control panel does not validate on email field
Bug description
When creating a form and adding an email the first field "email" doest not validate for a valid email address.
How to reproduce
When creating a form and adding an email the first field "email" doest not validate for a valid email address.
Logs
No response
Environment
Statamic 3.3.17 Pro
Laravel 9.16.0
PHP 8.1.5
aryehraber/statamic-captcha 1.8.0
rias/statamic-address-field 1.0.2
Installation
Existing Laravel app
Antlers Parser
regex (default)
Additional details
No response
Note for whoever implements this: you can also add Antlers into that 'Recipient' box so probably need to do some kind of validation there too?
You can also add multiple email addresses, so would need to work with that.
@duncanmcclean and @jacksleight, that's exactly why it doesn't perform strict email validation here 😂
There just isn't practical way to do it since there's wide range of valid inputs that would work.