fix(plugin): enter to break line not work for textarea settings item

This commit is contained in:
charlie
2022-10-10 17:15:01 +08:00
committed by Tienson Qin
parent 766f0e56ce
commit efbd8d0027

View File

@@ -29,6 +29,7 @@
{:class (util/classnames [{:form-input (not (contains? #{:color :range} input-as))}])
:type (name input-as)
:defaultValue (or val default)
:on-key-down #(.stopPropagation %)
:on-change (debounce #(update-setting! key (util/evalue %)) 1000)}])]])
(rum/defc render-item-toggle