Closed xiuliren closed 8 years ago
@jingpengwu The problem is when the Dict
is initialized there is no key name
. This key is added only when the form is submitted, so before that you get an error. You have 2 options here.
name
with inp = Signal(Dict(:name=>""))
.get(dict, :name, "")
instead of dict[:name]
so as to prevent this error.@rohitvarkey Thanks a lot! The second solution sounds better, and it works pretty well.
Using form.jl in
example
, I can print the string(dict), but can not use the dict with key!I used dict[:name], and get some error: