Skip to content

Can't use 'views' prop #36

@jmccabe-harmelin

Description

@jmccabe-harmelin

I am trying to create a DateInput that only shows Year and Month views.
Following the Material-UI Pickers example (https://material-ui-pickers.dev/demo/datepicker#different-views)

Seems as easy as adding views: ["year", "month"], to the options prop.
But when I pass these views into the DateInput, nothing happens.

Am I missing something?

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