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?
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?