adding day of month.

This commit is contained in:
Bryce Covert
2019-05-09 23:32:43 -07:00
parent 0520e2f0f8
commit 16a3b14844
8 changed files with 95 additions and 21 deletions

View File

@@ -201,8 +201,13 @@
(re-frame/dispatch (-> event
(conj field)
(conj (let [val (.. e -target -value)]
(if (and val (not (str/blank? val)))
(cond (and val (not (str/blank? val)))
(js/parseFloat val)
(str/blank? val )
nil
:else
val))))))
:value (get-in subscription field)