From 49fd3631faf51cb711e02739aecd7b62c260cac0 Mon Sep 17 00:00:00 2001 From: Josha von Gizycki Date: Sun, 30 Sep 2018 23:32:38 +0200 Subject: [PATCH] make :label optional --- src/formulare/core.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/formulare/core.clj b/src/formulare/core.clj index 2ff581d..372e341 100644 --- a/src/formulare/core.clj +++ b/src/formulare/core.clj @@ -22,8 +22,8 @@ )) (spec/def ::to-form ::from-req) (spec/def ::field - (spec/keys :req-un [::label] - :opt-un [::options + (spec/keys :opt-un [::label + ::options ::widget ::from-req ::to-form