so many bug fixes.
This commit is contained in:
@@ -226,8 +226,8 @@
|
||||
(re-frame/dispatch (-> event
|
||||
(conj field)
|
||||
(conj (let [val (.. e -target -value)]
|
||||
(cond (and val (not (str/blank? val))
|
||||
(not (str/ends-with? val ".")))
|
||||
(cond (and val
|
||||
(re-matches #"[\-]?(\d+)(\.\d{2})?" val))
|
||||
(js/parseFloat val)
|
||||
|
||||
(str/blank? val )
|
||||
|
||||
Reference in New Issue
Block a user