adding day of month.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user