This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-03-29
Channels
- # admin-announcements (1)
- # announcements (20)
- # babashka (43)
- # beginners (134)
- # calva (2)
- # clerk (7)
- # cljdoc (9)
- # clojars (8)
- # clojure (91)
- # clojure-europe (21)
- # clojure-nl (1)
- # clojure-norway (13)
- # clojure-uk (1)
- # clojurescript (5)
- # datahike (3)
- # docker (2)
- # emacs (6)
- # fulcro (7)
- # graphql (9)
- # honeysql (24)
- # improve-getting-started (5)
- # introduce-yourself (1)
- # lambdaisland (1)
- # luminus (3)
- # malli (3)
- # nbb (19)
- # off-topic (22)
- # pathom (1)
- # portal (3)
- # practicalli (1)
- # rdf (26)
- # reagent (29)
- # reitit (9)
- # shadow-cljs (15)
- # spacemacs (3)
- # sql (4)
- # tools-build (30)
- # xtdb (41)
According to fulcro RAD: How to use form/field-visible? on a field? Ive tried
fo/field-visible? {:member/inactive-date false}
for my :member/inactive-date that is defined as defattr in member.
I would like to tag it true if :member/active is set to false and show the inactive date time in my form.
Any suggestions?On a form you need fields-visible?
@U0522TWDA ah nice, thx that works. hm, if I use a fn on this, I only get "#object[Component [object Object]]" out of v - is this normal? How can I access now my data?
fo/fields-visible? {:member/inactive-date (fn [v]
(println (get :member/active? v))
true)}
That is the this of the component
https://github.com/fulcrologic/fulcro/blob/main/src/main/com/fulcrologic/fulcro/react/context.cljc#L2 I noticed this line makes the ci fail because the namespace doesn't exist
seems like just removing fixes the CI https://github.com/fulcrologic/fulcro/pull/538