amsul/pickadate.js

Infinite loop occurs with `.set('max', -Infinity)`

Voileexperiments opened this issue · 0 comments

Similar to #755, in v3.6.4 infinite loop occurs when trying to do

picker.set('max', -Infinity);

which is a pretty deadly pitfall (the intended code is picker.set('min', -Infinity); to reset the minimum date).