Fork me on GitHub
#hoplon
<
2017-10-12
>
cjsauer19:10:20

Hello, Hoplon! I have a quick question: does anyone know of a good resource to reference for doing form validation with javelin and some kind of spec library (spec, schema, struct, etc)?

dm319:10:46

there probably isn’t any

dm319:10:20

depends on when you want to do validation you can either create a formula cell that validates on every change

dm319:10:29

or trigger validation manually on some action

dm319:10:56

otherwise it’s validation-agnostic

cjsauer19:10:15

Ah I found this https://github.com/hoplon/demos/blob/master/validated-form/src/index.cljs.hl This just got me over my last hurdle. Thank you @dm3 for your reply.

cjsauer19:10:54

Can't wait for clojure.spec's true release...it will be a fun combination with javelin