The email type — a string validated as an email address.
userEmail: email
---
~ test@example.com # ✓
~ notanemail # ✗ invalid-emailcompanyEmail: { email, choices: [info@acme.com, sales@acme.com] }
---
~ info@acme.com # ✓
~ other@acme.com # ✗ invalid-choiceSee Also
Last updated
Was this helpful?
