jkk / formative

Web forms for Clojure and ClojureScript - rendering, parsing, and validating
208 stars 18 forks source link

formative.dom/show-problems ignores :id of a field #60

Open iku000888 opened 7 years ago

iku000888 commented 7 years ago

Seems like current logic always will look up the dom based on the :name field, so the error and problem classes do not get added if an :id is specified.

https://github.com/jkk/formative/blob/master/src/formative/dom.cljs#L85