Skip to content

Commit f69fcf9

Browse files
committed
fire on change on commands like backspace, too
1 parent c9ec8aa commit f69fcf9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/town/lilac/humble/text_field.clj

+1
Original file line numberDiff line numberDiff line change
@@ -870,6 +870,7 @@
870870
(swap! *state
871871
(fn [state]
872872
(reduce #(edit %1 %2 nil) state ops)))
873+
(and on-change (on-change @*state))
873874
true)
874875
(some #{:letter :digit :whitespace} (:key-types event))))
875876

0 commit comments

Comments
 (0)