keechma

Keechma stack. Mention @U050986L9 or @U2J1PHYNM if you have any questions
mihaelkonjevic 2018-06-12T15:04:50.000525Z

@mynomoto are you talking about the https://github.com/keechma/forms project or about the forms in keechma toolbox?

2018-06-12T16:57:49.000075Z

@mihaelkonjevic it's about https://github.com/keechma/forms I was not aware that the forms in toolbox were different.

mihaelkonjevic 2018-06-12T17:00:58.000165Z

@mynomotono, there is no official way to handle external errors in that library. Keechma toolbox implements a different form lib which is coupled to keechma, but also does much more for you. Check https://github.com/gothinkster/clojurescript-keechma-realworld-example-app/blob/master/src/cljs/realworld/forms/ for examples on how to use it. keechma/forms library is still a great solution if you’re using it with a vanilla reagent app, and keechma toolbox is building on top of it, but for instance it keeps the form state in app-db instead of separate atoms

2018-06-12T17:06:15.000714Z

For that I added the record on re-frame db, I'm happy with the solution. I will keep the external errors separated for now. I think that we should have a lightweight protocol for forms and multiple implementations for different frameworks. keechma/forms is nice but I miss the ability of adding validation errors by other means.