day8 / re-com

A ClojureScript library of reusable components for Reagent
https://re-com.day8.com.au
MIT License
797 stars 147 forks source link

Select previous month, with minimum date setting #155

Open jcthalys opened 7 years ago

jcthalys commented 7 years ago

The datepeaker is only letting go back to previous months if the difference of the configured minimum date is greater than one month.

If I am in June, 30. He only enable to back to previous month if my minimum date is in April month. If my minimum date is: May 5, 2017, let's say I want to select any date greater than this, do not let me go back.

Only if I select 05/30 and then select again the datepeaker, they allow me select any date greader then May 5, doing the correct validate.