mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
🐛 Fix incorect pred build on ::sm/text schema
This commit is contained in:
@@ -919,7 +919,7 @@
|
|||||||
:pred #(and (string? %) (not (str/blank? %)))
|
:pred #(and (string? %) (not (str/blank? %)))
|
||||||
:property-pred
|
:property-pred
|
||||||
(fn [{:keys [min max] :as props}]
|
(fn [{:keys [min max] :as props}]
|
||||||
(if (seq props)
|
(if (or min max)
|
||||||
(fn [value]
|
(fn [value]
|
||||||
(let [size (count value)]
|
(let [size (count value)]
|
||||||
(cond
|
(cond
|
||||||
|
|||||||
Reference in New Issue
Block a user