Skip to content

Instantly share code, notes, and snippets.

@ggkrustev
Created January 30, 2017 13:11
Show Gist options
  • Save ggkrustev/fe741b95e79ac3e83eec024420fd673b to your computer and use it in GitHub Desktop.
Save ggkrustev/fe741b95e79ac3e83eec024420fd673b to your computer and use it in GitHub Desktop.
Research whether to support infinite min/max range
# Should we support infinite date range
## Competitors
### AngularJS Material
They do have virtualized scrolling but does not support infinite min/max date range. When set to null,
the lowest date is still the default one (1880-0-1)
Demo: http://codepen.io/anon/pen/KaZvxo
### Angular (2) Material
Still doesn't have a calendar.
### ng-bootstrap
Doesn't support infinite date range, as it is clearly stated in their documentation:
https://ng-bootstrap.github.io/#/components/datepicker
## Conclusion
We should behave just like AngularJS Material and revert to default range if min/max is null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment