Hi,
I have an array of maps defined as below -
(def input-boxes [{:name ":person/first-name" :label-text "Full Name" :help-text "Please enter your full name as - First Middle Last"}
{:name ":person/ejamaat" :label-text "Ejamaat Number" :placeholder-text "Ejamaat #"}
{:name ":person/mobile" :label-text "Mobile Number" :placeholder-text "Mobile #"}
{:name ":person/email" :label-text "Email Address"}
{:name ":person/watan" :label-text "Watan" :placeholder-text "Watan"}])
This is the generated code and error that I see in browser -
faiz.client.infoCollection.input_boxes = cljs.core.PersistentVector.fromArray([cljs.core.ObjMap.fromObject(["\ufdd0'name", "\ufdd0'label-text", "\ufdd0'help-text"], {"\ufdd0'name":":person/first-name", "\ufdd0'label-text":"Full Name", "\ufdd0'help-text":"Please enter your full name as - First Middle Last"}), cljs.core.ObjMap.fromObject(["\ufdd0'name", "\ufdd0'label-text", "\ufdd0'placeholder-text"], {"\ufdd0'name":":person/ejamaat", "\ufdd0'label-text":"Ejamaat Number", "\ufdd0'placeholder-text":"Ejamaat #"}),
![]()
Uncaught TypeError: Cannot call method 'fromArray' of undefined
Any ideas on what is wrong here?
Thanks,
Murtaza