0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-04-11 22:41:23 -05:00

Add min-max validation to word-string schema

This commit is contained in:
Andrey Antukh 2023-07-04 13:35:54 +02:00
parent 1464f5da90
commit 068d2f13f4

View file

@ -466,6 +466,7 @@
(def! ::word-string
{:type ::word-string
:pred #(and (string? %) (not (str/blank? %)))
:property-pred (m/-min-max-pred count)
:type-properties
{:title "string"
:description "string"