Skip to content

[Question] How to disable past days in calendar dialog with v1.3.0? #83

Open
@starry-shivam

Description

@starry-shivam

Hello, first off, thank you creating this library. I've been using it in some of my apps, and recently I updated from version 1.1.0 to 1.3.0. I noticed there were quite a few API changes, and while I managed to adapt most of them to maintain the state of my dialogs as they were in version 1.1.0, I'm struggling with disabling past days in the calendar. Previously, all I had to do was pass disabledTimeline = CalendarTimeline.PAST inside CalendarConfig, but in the latest version, there doesn't seem to be such an option. Instead, it only accepts a list of dates to disable, which isn't quite what I'm looking for. Any assistance in resolving this would be greatly appreciated. Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions