mirror of
https://github.com/penpot/penpot.git
synced 2025-01-21 22:22:43 -05:00
Fix token value not being removed after submit
This commit is contained in:
parent
b1379ed7de
commit
cc0e4af4bc
1 changed files with 2 additions and 2 deletions
|
@ -153,9 +153,9 @@
|
||||||
(swap! state* assoc :refocus? true))
|
(swap! state* assoc :refocus? true))
|
||||||
replace-token-with-value? (do
|
replace-token-with-value? (do
|
||||||
(dom/prevent-default event)
|
(dom/prevent-default event)
|
||||||
(set-token-value! nil)
|
|
||||||
(on-token-remove token)
|
(on-token-remove token)
|
||||||
(handle-change-input event))
|
(handle-change-input event)
|
||||||
|
(set-token-value! nil))
|
||||||
:else (set-token-value! value)))
|
:else (set-token-value! value)))
|
||||||
is-open? (let [up? (kbd/up-arrow? event)
|
is-open? (let [up? (kbd/up-arrow? event)
|
||||||
down? (kbd/down-arrow? event)]
|
down? (kbd/down-arrow? event)]
|
||||||
|
|
Loading…
Add table
Reference in a new issue