This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-05-11
Channels
- # announcements (6)
- # babashka (7)
- # beginners (145)
- # biff (2)
- # calva (9)
- # cider (4)
- # circleci (9)
- # clj-commons (22)
- # clj-kondo (26)
- # cljs-dev (70)
- # cljsrn (4)
- # clojure (46)
- # clojure-australia (9)
- # clojure-europe (62)
- # clojure-nl (5)
- # clojure-norway (4)
- # clojure-spec (11)
- # clojure-uk (3)
- # clojurescript (18)
- # copenhagen-clojurians (1)
- # core-async (1)
- # cursive (13)
- # datahike (6)
- # datomic (47)
- # emacs (5)
- # events (2)
- # fulcro (13)
- # google-cloud (2)
- # gratitude (2)
- # helix (5)
- # honeysql (5)
- # hyperfiddle (31)
- # jobs (1)
- # jobs-discuss (6)
- # london-clojurians (1)
- # lsp (5)
- # off-topic (9)
- # polylith (12)
- # portal (18)
- # re-frame (5)
- # reagent (29)
- # releases (2)
- # shadow-cljs (43)
- # specter (1)
- # test-check (8)
- # vim (1)
- # xtdb (66)
Update on my “Chrome password manager” stumper (8:50 AM ET yesterday): switching to plain vanilla re-frame password fields does not fix the bug. Updating to the latest re-frame/reagent/react also does not fix it. HOWEVER, I’ve found that if I type the complete password, then type an extra character and delete it, and hit the “Sign On” button, it DOES record my complete password. So I guess that Chrome is assembling my password value by watching change events? And somehow it’s missing the last character added? Unless I add and delete an extra character? Just so bizarre.
The password field contains the complete password at the time of the ajax call to the auth endpoint. Wrapping the input fields inside a [:form ...]
does not help. Change events are being fired for each character typed into the field.
It’s a re-frame/reagent/react component, so the field is being re-rendered with a new value every time the password value changes in the app-db.
If I search for Chrome and React password bugs I do find a long history of issues. I haven't looked into it and can't tell if this affects you as well. So feel free to ignore them (sorry I can't be of use) https://github.com/facebook/react/issues/1159 https://github.com/aws-amplify/amplify-ui/issues/239
I’ll have a look, thanks. I did find several bugs when I searched, but they were all related to Chrome not offering to save passwords, rather than Chrome saving garbled passwords. I’ll check these out though.