Lots of less customization when creating and editing forms

This commit is contained in:
2023-10-20 11:38:29 -07:00
parent e3443a3dd8
commit c0db7eb763
7 changed files with 318 additions and 91 deletions

View File

@@ -35,4 +35,12 @@
([cursor]
(get-in *form-errors* (cursor/path cursor))))
(defn error?
([]
(error? *current*))
([cursor]
(let [errors (get-in *form-errors* (cursor/path cursor))]
(and (sequential? errors)
(every? string? errors)))))