mirror of
https://github.com/penpot/penpot.git
synced 2026-09-24 15:48:28 +08:00
✨ Ensure that all emails are under 250chars
This commit is contained in:
@@ -282,7 +282,9 @@
|
||||
(def! ::email
|
||||
{:type ::email
|
||||
:pred (fn [s]
|
||||
(and (string? s) (re-seq email-re s)))
|
||||
(and (string? s)
|
||||
(< (count s) 250)
|
||||
(re-seq email-re s)))
|
||||
:type-properties
|
||||
{:title "email"
|
||||
:description "string with valid email address"
|
||||
|
||||
Reference in New Issue
Block a user