This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-08-28
Channels
- # beginners (79)
- # boot (24)
- # cider (5)
- # clara (5)
- # cljs-experience (5)
- # clojure (126)
- # clojure-greece (5)
- # clojure-italy (3)
- # clojure-losangeles (1)
- # clojure-russia (1)
- # clojure-spec (21)
- # clojure-uk (31)
- # clojurescript (151)
- # community-development (20)
- # cursive (25)
- # datomic (24)
- # flambo (1)
- # fulcro (312)
- # graphql (10)
- # hoplon (20)
- # juxt (2)
- # keechma (6)
- # leiningen (7)
- # luminus (4)
- # om (4)
- # onyx (7)
- # parinfer (24)
- # protorepl (1)
- # re-frame (7)
- # reagent (13)
- # shadow-cljs (19)
- # spacemacs (14)
- # specter (14)
- # uncomplicate (22)
- # unrepl (1)
in re-frame, whats the best way to handle forms whose fields directly map to the fields of a subscribed model (the model is server persisted)
if i set the :value
of an Input
to the subscribed model's field, then whenever someone types in the Input
i'll have to dispatch that change to server and wait for the model to be returned before the input actually shows the change. which is clearly not ideal
@yedi, I would use the form ratom, probably, for a complex form, but if I understand you correctly, you can also wait to update the :value
until the Input
loses focus/submits