This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-10-31
Channels
- # architecture (1)
- # asami (25)
- # babashka (1)
- # beginners (1)
- # calva (23)
- # clj-kondo (54)
- # cljfx (23)
- # cljsrn (9)
- # clojure (72)
- # clojure-europe (2)
- # clojure-spec (16)
- # clojure-uk (4)
- # clojurescript (10)
- # code-reviews (1)
- # cursive (2)
- # datomic (1)
- # events (2)
- # exercism (2)
- # fulcro (6)
- # graalvm (1)
- # malli (1)
- # membrane (1)
- # off-topic (31)
- # pathom (3)
- # reagent (6)
- # reitit (2)
- # releases (1)
- # shadow-cljs (1)
- # vim (6)
- # vrac (25)
- # xtdb (4)
Hello! Can someone help me? Try to build a table and wrote this:
[:div {:id "table"}
[:table {:style "width:100%"}
[:thead [:tr
[:th "Name"]
[:th "Gender"]
[:th "Birth date"]
[:th "Address"]
[:th "OMS"]]]
[:tbody [:tr
[:td "a"]
[:td "b"]
[:td "c"]
[:td "d"]
[:td "e"]]]
]
]
In browser's console i get
The above error occurred in the <table> component:
in table (created by grump2.views.main_panel)
in div (created by grump2.views.main_panel)
There's very long logtrace. Am i need to put that here?
We need not the mention of "the above error", but the error itself. Which should be, well, above. A summary of the error should be sufficient. You can still paste the whole stacktrace by using the text snippet feature of Slack.
I didn't check it but my current guess is that strings in :style
are not supported. You can try replacing "width:100%"
with {:width "100%"}
.
thank you