This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-09-02
Channels
- # announcements (6)
- # babashka (21)
- # beginners (38)
- # biff (2)
- # calva (14)
- # cider (5)
- # clerk (4)
- # cljdoc (2)
- # clojure (11)
- # clojure-europe (2)
- # clojure-norway (5)
- # clojure-spec (4)
- # core-typed (8)
- # data-science (5)
- # deps-new (15)
- # events (1)
- # fulcro (2)
- # graalvm (33)
- # holy-lambda (3)
- # hyperfiddle (19)
- # kaocha (1)
- # portal (5)
- # test-check (1)
- # xtdb (9)
- # yamlscript (2)
hi 🙂 in fulcro-rad, can one entry in ro/controls
access the value that a sibling control stored as a local parameter in the report? If so, how is that done?
for example: if fulcro-rad-demo’s InventoryReport had a “new item” button control, I could take the selected category from the ::category
picker, and pass it in via the 3rd argument to form/create!
to set a default value for Category when creating that new item …
(form/create! this ItemForm
{:initial-state {:item/category category}})
… Also I think my code above is not quite rightI have access to the form instance in the control handlers, so you should be able to get the info from there, I believe. Just explore what is in the client db…
👀 2