This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-05-02
Channels
- # announcements (7)
- # aws (3)
- # babashka (132)
- # beginners (38)
- # calva (3)
- # chlorine-clover (6)
- # clara (1)
- # clj-kondo (20)
- # cljs-dev (24)
- # cljsrn (9)
- # clojure (76)
- # clojure-dev (1)
- # clojure-germany (4)
- # clojure-india (2)
- # clojure-uk (24)
- # clojurescript (15)
- # conf-proposals (1)
- # conjure (114)
- # cursive (3)
- # fulcro (63)
- # graalvm (1)
- # helix (2)
- # joker (10)
- # juxt (1)
- # local-first-clojure (2)
- # meander (9)
- # off-topic (97)
- # rdf (4)
- # re-frame (7)
- # reagent (16)
- # reitit (1)
- # rum (9)
- # shadow-cljs (48)
- # spacemacs (3)
- # tools-deps (3)
- # vim (30)
- # xtdb (10)
@geraldodev you could always store it as a string and only cast to int when submitting or validation
☝️ 4
https://github.com/geraldodev/react-form-hook-test/blob/use-form-state/src/main/app/core.cljs#L45 use-form-state frankenstein hook composing use-state react-form-hook and malli schema, with render-input (https://github.com/geraldodev/react-form-hook-test/blob/use-form-state/src/main/app/core.cljs#L59) we can render a simple form based on malli map schema over a loop (https://github.com/geraldodev/react-form-hook-test/blob/use-form-state/src/main/app/core.cljs#L94)
👏 12