mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 00:24:51 +00:00
fix(plugin): enter to break line not work for textarea settings item
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user