0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 06:02:32 -05:00

Fix token value not being removed after submit

This commit is contained in:
Florian Schroedl 2024-05-22 16:37:19 +02:00
parent b1379ed7de
commit cc0e4af4bc

View file

@ -153,9 +153,9 @@
(swap! state* assoc :refocus? true))
replace-token-with-value? (do
(dom/prevent-default event)
(set-token-value! nil)
(on-token-remove token)
(handle-change-input event))
(handle-change-input event)
(set-token-value! nil))
:else (set-token-value! value)))
is-open? (let [up? (kbd/up-arrow? event)
down? (kbd/down-arrow? event)]