0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-15 11:38:24 -05:00

🐛 Activate button when input change in account

This commit is contained in:
Eva 2022-05-05 14:41:02 +02:00 committed by Andrés Moya
parent 18afb701fb
commit 1102bc9cba

View file

@ -79,6 +79,7 @@
on-focus #(reset! focus? true)
on-change (fn [event]
(let [value (-> event dom/get-target dom/get-input-value)]
(swap! form assoc-in [:touched input-name] true)
(fm/on-input-change form input-name value trim)))
on-blur