reagent-project / reagent-forms

Bootstrap form components for Reagent
339 stars 78 forks source link

Datepicker: pop down on click #25

Closed mathiasp closed 9 years ago

mathiasp commented 9 years ago

I think the datepicker should pop down again after one chooses a date. The typical interaction would be to open it and choose a date and then close it again. So, getting rid of that last click to close it again would save the user from one click each time she uses the datepicker, and would save vertical space at the same time.

What do you think?

yogthos commented 9 years ago

It might be be better to have that configurable as I can see it being frustrating if you misclick the date or want to change it.

yogthos commented 9 years ago

Added :auto-close? option to the datepicker that will cause it to automatically close when the day is clicked in the calendar.