This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-05-25
Channels
- # announcements (21)
- # babashka (7)
- # beginners (27)
- # calva (7)
- # chlorine-clover (3)
- # cider (1)
- # clerk (21)
- # clojure (24)
- # clojure-europe (28)
- # clojure-finland (3)
- # clojure-nl (1)
- # clojure-norway (5)
- # clojure-uk (2)
- # clojurescript (13)
- # clr (2)
- # conjure (1)
- # consulting (1)
- # datahike (1)
- # datomic (13)
- # fulcro (3)
- # graalvm (33)
- # gratitude (7)
- # honeysql (7)
- # humbleui (12)
- # hyperfiddle (26)
- # interop (11)
- # introduce-yourself (4)
- # jobs-discuss (8)
- # lsp (26)
- # malli (6)
- # nbb (11)
- # polylith (26)
- # practicalli (1)
- # rdf (3)
- # re-frame (7)
- # reitit (10)
- # releases (2)
- # shadow-cljs (1)
- # tools-deps (15)
Hi! It seems to me that fo/default-value
does not play well with the ToOnePicker
, namely I expected the default value to be pre-selected in the picker, which it is not (but when I save the form, it is sent to the backend). I am still digging to find out why, or what am I doing wrong…
(I see that the picker simply uses the value from the form’s props, where there is none in this case.)
let me know what you find. It’s been a while since I wrote the default value code, and I don’t know if I documented it well enough.
My bad, I used the wrong value, i.e. a plain keyword instead of a correctly namespaced keyword, as I have in my enum. It took me way too long to notice, but I learned a good deal 🙂 Also, it was not ToOnePicker, but en enum picker dropdown.