mirror of
https://github.com/penpot/penpot.git
synced 2026-05-03 15:18:59 +00:00
✨ Ensure that all emails are under 250chars
This commit is contained in:
parent
7b0d3bdcab
commit
1464f5da90
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user