reagent-project / reagent-forms

Bootstrap form components for Reagent
339 stars 78 forks source link

Datepicker date format needs "." as separator #22

Closed mathiasp closed 9 years ago

mathiasp commented 9 years ago

As far as I can see, only "/", "-" and " " are supported right now.

Most of europe is using something like dd.mm.yyyy as date format, so it would be great if you could add that.

Thanks for reagent-forms, it's a lovely small and useful library!

Mathias

yogthos commented 9 years ago

Ah great catch, looks like . needs to be escaped for regexes, I just pushed out 0.2.7 to Clojars with a fix. Let me know if that works well.

yogthos commented 9 years ago

@mathiasp can we close this one?

mathiasp commented 9 years ago

Jip, it works now. Thanks a lot! BTW: is there an easy way to pop down the calendar picker once a date is selected?