Fix: Number property values can be clicked on without failing

This commit is contained in:
Gabriel Horner
2023-08-21 17:21:04 -04:00
parent fc9b0d7b2c
commit fea174d661

View File

@@ -71,7 +71,7 @@
(fn? transform-fn)
(transform-fn @input))
(remove nil?))
exact-match? (contains? (set (map (comp string/lower-case extract-fn) search-result'))
exact-match? (contains? (set (map (comp string/lower-case str extract-fn) search-result'))
(string/lower-case @input))
search-result (if (and show-new-when-not-exact-match?
(not exact-match?)