This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-02-09
Channels
- # announcements (26)
- # babashka (4)
- # beginners (17)
- # calva (21)
- # cider (13)
- # clerk (17)
- # clj-commons (23)
- # clj-kondo (3)
- # cljdoc (47)
- # cljsrn (10)
- # clojure (123)
- # clojure-belgium (2)
- # clojure-dev (25)
- # clojure-europe (34)
- # clojure-gamedev (2)
- # clojure-italy (1)
- # clojure-nl (3)
- # clojure-norway (4)
- # clojure-uk (4)
- # clojurescript (86)
- # cursive (12)
- # datahike (2)
- # datomic (2)
- # emacs (4)
- # fulcro (6)
- # funcool (15)
- # instaparse (1)
- # integrant (11)
- # jobs (1)
- # joyride (9)
- # kaocha (3)
- # membrane (8)
- # off-topic (1)
- # pathom (4)
- # practicalli (2)
- # quil (1)
- # rdf (1)
- # reagent (9)
- # remote-jobs (1)
- # shadow-cljs (27)
- # spacemacs (4)
- # specter (1)
- # sql (11)
- # tools-deps (55)
- # vim (1)
I have created a copy of the fulcrologic/fulcro-rad-template from github. Running it fresh from the directions it loads up and everything works fine, except one minor detail. On the accounts display, there is a toggle for showing inactive accounts. The toggle does not affect the list. If I change an account to inactive, and toggle the option on in the UI, i don't see inactive accounts, only active ones. From line 100 of the template https://github.com/fulcrologic/fulcro-rad-template/blob/c09cfd8673df0e3bfd094fa8b08c331dae8b1de1/src/main/com/example/ui/account_forms.cljc#L100 it has a call that should update the value. But in the fulcro inspect I see nothing happening when I toggle the inactive option in the UI.
That screen is designed to use the resolver on the back end for filtering inactive, so that the rows don’t change visibility until you reload. So toggling enabled->disabled still shows the row. Could be a recent update changed something by accident. Looking at the code I’m not sure why the row actions are commented out. OH, this is the template, not the demo. Look at the demo.
The demo probably doesn’t have al of the logic for making that enable/disable stuff work.