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 [horizontal-field
[:label.label "Date"] [:label.label "Date"]
[bind-field [bind-field
[:input.input {:type "date" [date-picker {:class-name "input"
:field [:date] :class "input"
:event change-event :format-week-number (fn [] "")
:spec ::invoice/date :previous-month-button-label ""
:subscription handwrite-checks}]]] :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 [horizontal-field