mirror of
https://github.com/logseq/logseq.git
synced 2026-05-27 14:14:24 +00:00
fix: don't create block for invalid number property value
This commit is contained in:
@@ -1241,7 +1241,9 @@
|
||||
(set-editing! false))))]
|
||||
[:div.ls-number.flex.flex-1.jtrigger
|
||||
{:ref *ref
|
||||
:on-click #(set-editing! true)}
|
||||
:on-click #(do
|
||||
(state/clear-selection!)
|
||||
(set-editing! true))}
|
||||
(if editing?
|
||||
(shui/input
|
||||
{:ref *input-ref
|
||||
|
||||
Reference in New Issue
Block a user