diff --git a/common/src/app/common/schema.cljc b/common/src/app/common/schema.cljc index 04be1eb9e9..f452c7b66e 100644 --- a/common/src/app/common/schema.cljc +++ b/common/src/app/common/schema.cljc @@ -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