moved everything to date-picker.

This commit is contained in:
Bryce Covert
2019-02-24 07:09:30 -08:00
parent 9950ec79a9
commit 62b6316242

View File

@@ -605,11 +605,19 @@
[horizontal-field
[:label.label "Date"]
[bind-field
[:input.input {:type "date"
:field [:date]
:event change-event
:spec ::invoice/date
:subscription handwrite-checks}]]]
[date-picker {:class-name "input"
:class "input"
:format-week-number (fn [] "")
:previous-month-button-label ""
:placeholder "mm/dd/yyyy"
:next-month-button-label ""
:next-month-label ""
:type "date"
:field [:date]
:event change-event
:spec ::invoice/date
:popper-props (clj->js {:placement "right"})
:subscription handwrite-checks}]]]
[horizontal-field