|
|
@@ -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
|