Skip to content

Allow non consecutive dates when creating date picker with mo.ui.date.from_series #6756

@fcusimano

Description

@fcusimano

Description

When creating a date picker using mo.ui.date.from_series I would like to have the option to only show the dates present in my Series as selectable, even if non consecutive. For example in the image below, July 24 to 28 should be grayed out. My current use case is to select model training dates, where some days might be skipped.

Image

Thank you!

Suggested solution

Perhaps a consecutive boolean parameter in from_series()

Are you willing to submit a PR?

  • Yes

Alternatives

Currrently a possible workaround is to use a dropdown but it is less elegant especially with large amount of dates.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions