This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-07-29
Channels
- # admin-announcements (48)
- # announcements (1)
- # beginners (80)
- # boot (150)
- # cljs-dev (12)
- # clojure (133)
- # clojure-dev (1)
- # clojure-italy (27)
- # clojure-japan (1)
- # clojure-russia (77)
- # clojurescript (236)
- # clojutre (3)
- # code-reviews (1)
- # core-async (14)
- # core-logic (4)
- # core-matrix (15)
- # cursive (5)
- # datomic (30)
- # editors (16)
- # events (1)
- # hoplon (1)
- # ldnclj (17)
- # off-topic (30)
- # om (2)
- # onyx (47)
- # reagent (8)
I have a input field which has value set from my app-db. So I can’t type in anything in the input field.
It feels like the input field is disabled, but actually it’s re-rendering on changes.
So how can I type in an input field ?
The input value should be a deref from your app-db, then you need something that updates app-db as you type (like :on-change).
Take a look at this: https://github.com/reagent-project/reagent-cookbook/tree/master/recipes/input-validation
@gadfly361: Thanks a lot!
@gadfly361: You are awesome as always.