diff --git a/src/formulare/core.clj b/src/formulare/core.clj index 2a50f9a..087b60a 100644 --- a/src/formulare/core.clj +++ b/src/formulare/core.clj @@ -14,7 +14,7 @@ (spec/or :empty empty? :options (spec/coll-of (spec/tuple string? string?)))) (spec/def ::widget - #(in? [:input :select :checkbox :textarea :mselect] %)) + #{:input :select :checkbox :textarea :mselect :hidden}) (spec/def ::from-req (spec/and fn? #(= 1 (->> % meta :arglists (map count) first)))) (spec/def ::to-form ::from-req)