A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/bootstrap-vue/bootstrap-vue/issues/4899 below:

Datepicker should auto-navigate to max date (month) if set, not to current date (month) · Issue #4899 · bootstrap-vue/bootstrap-vue · GitHub

Describe the bug

If max date is set, datepicker should "auto-navigate" to that month. Now (2020-03-06) it opens current month even if the last enabled date (and set max date) is in the past months (e.g. 2020-02-20).

Steps to reproduce the bug
  1. set :date-disabled-fn to return days from previous months
  2. set max="2020-02-20"
  3. Open the datepicker
  4. See error: current month (2020-03) is opened even though there isn't anything to select and it's past set max-date
Expected behavior

If set, datepicker should auto-navigate to max date, not to current date if it's out-of-range.

Versions

Libraries:

Environment:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4