mirror of https://github.com/penpot/penpot.git
🐛 Fix incorect pred build on ::sm/text schema
This commit is contained in:
parent
28f550d533
commit
972b23e6c0
|
|
@ -919,7 +919,7 @@
|
|||
:pred #(and (string? %) (not (str/blank? %)))
|
||||
:property-pred
|
||||
(fn [{:keys [min max] :as props}]
|
||||
(if (seq props)
|
||||
(if (or min max)
|
||||
(fn [value]
|
||||
(let [size (count value)]
|
||||
(cond
|
||||
|
|
|
|||
Loading…
Reference in New Issue