Skip to content

Checkbox doesn't work for server rendering #2

@r0man

Description

@r0man

Hello @ajchemist,

the checkbox component throws an exception when used in Clojure. I'm doing server side rendering and run into this issue. This works in ClojureScript, but throws an exception in Clojure. I'm also using rum 0.10.5.

(mdl/checkbox {:label "hello"})

Wrong number of args (2) passed to: mdl/fn--51513

     AFn.java:  429  clojure.lang.AFn/throwArity
     AFn.java:   36  clojure.lang.AFn/invoke
     AFn.java:  156  clojure.lang.AFn/applyToHelper
     AFn.java:  144  clojure.lang.AFn/applyTo
     core.clj:  651  clojure.core/apply
     core.clj:  646  clojure.core/apply
     core.clj:  123  rum.core/build-defc/render
     core.clj:  116  rum.core/build-ctor/fn
  RestFn.java:  408  clojure.lang.RestFn/invoke

Btw., how do you work on this project? Do you use Emacs and jack-in?

I couldn't get that working and also the boot tasks throw exceptions. I get errors like

  • namespace 'cljs.source-map' not found
  • clojure.lang.ExceptionInfo: No such var: string/index-of

Any ideas?

r0man

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions