This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-28
Channels
- # admin-announcements (2)
- # alda (5)
- # arachne (4)
- # beginners (49)
- # boot (92)
- # capetown (3)
- # cider (9)
- # cljs-dev (6)
- # cljs-edn (1)
- # cljsjs (29)
- # cljsrn (4)
- # clojure (65)
- # clojure-android (1)
- # clojure-berlin (2)
- # clojure-chicago (2)
- # clojure-gamedev (2)
- # clojure-greece (11)
- # clojure-india (1)
- # clojure-japan (1)
- # clojure-new-zealand (2)
- # clojure-quebec (2)
- # clojure-russia (49)
- # clojure-spec (73)
- # clojure-uk (38)
- # clojurescript (118)
- # clojutre (4)
- # community-development (17)
- # cursive (3)
- # data-science (1)
- # datascript (1)
- # datomic (17)
- # emacs (6)
- # euroclojure (2)
- # events (2)
- # immutant (30)
- # keechma (11)
- # leiningen (4)
- # luminus (2)
- # off-topic (19)
- # om (14)
- # onyx (28)
- # planck (9)
- # re-frame (11)
- # reagent (35)
- # ring-swagger (4)
- # schema (4)
- # slack-help (6)
- # spacemacs (2)
- # specter (11)
- # testing (4)
- # untangled (88)
- # utah-clojurians (2)
- # vim (2)
- # yada (9)
the to-validator
function in the forms example seems to be generic and helpful enough that it could probably be included in the forms library?
it’s not really generalized and there might be better ways to write it. it depends how you would want to format the validations map. But I agree that a generalized solution might make sense
also I’m not sure If you’ve seen this, but Keechma Forms allows the best validation UX 🙂 https://medium.com/wdstack/inline-validation-in-forms-designing-the-experience-123fb34088ce#.mdeu0s4br
Hadn't read it. That's why I picked keechma to start learning, though. I'm trying to introduce validations on a wonky set of data in an HR context
I'd love to something like this work out for the poor folks that do data entry. http://blog.cognitect.com/blog/2015/5/14/breeze-ehr-to-simplify-healthcare-with-clojure-and-datomic
(defrecord Controller [main-app]
controller/IController
(params [_ route-params] true)
(handler [this app-db-atom in-chan _]
(let [main-app (:main-app this)
user (cks/get :current-user)]
(if user
(start-app! main-app app-db-atom)
(controller/dispatcher app-db-atom in-chan
{:login (partial login main-app)})))))