I've done this quite a bit before with a parent form component and many child 
input components.

here's a striped down version of form and input components. there's lots of 
other fun stuff you can do with validation and whatnot, but this is the meat. 
The cool part is having an input component that can take either a cursor, or 
local state, and by passing an on-change function you can either have it update 
it's cursor by default, or parent local state (or just about anything else you 
might want).

https://gist.github.com/pleasetrythisathome/3e14892686846ef33ef6

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to