Hi! I'm using reagent and kioo together. The following snippet renders an input field and populates it, but the field is not editable.
(defsnippet sample "templates/sample.html" [:#sample-form]
[{:strs[name]}]
{ [:#name] (kioo/set-attr :value name) })
To make the field editable, I tried the following:
(kioo/set-attr :defaultValue name :value name)
(kioo/set-attr :value :name :onChange (fn[_]))
Appreciate any help. Thanks.
Amar