material-components/material-components-android

[dateRangePicker] dynamic DateValidator updates.

Open

#2,286 opened on Jul 5, 2021

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Java (15,910 stars) (3,023 forks)batch import
Good First IssueWidget: DatePickerfeature request

Description

Use case: As a user I want to be able to select data range (from-to) limited in 31 days for example. (range limit should be configurable)

  • By opening a calendar and selecting a date FROM the Calendar should disable all dates for selecting TO according to range limits.
  • By selecting TO date Calendar should become again free for ReSelecting any FROM date.
  • Future from today should be disabled in any cases.

stackoverflow

Contributor guide