Skip to content

bug: Ion-datetime when readonly=true, should able to navigate through calendar #28121

Description

@FranciskoNeves

Prerequisites

Describe the Feature Request

When readonly=true in ion-datetime component, we should be able to navigate between months and years.

Describe the Use Case

If I'm using ion-datetime not to select dates, but to show multiple selected dates, if one of those dates is in another month, I can't see it.

Describe Preferred Solution

With readonly=true, the selection of dates should be disabled, but not the navigation of the calendar.

Describe Alternatives

Another solution would be to add a new property (viewOnlyMode, for example) to the component that disable selection of dates but let the user navigate to other months.

Related Code

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions