Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Don't want to show md-calendar-month on date picker #9260

@shruti0207

Description

@shruti0207

Is there an any option that user can only select year and month in datepicker, the date views should not shown to user. once the user select the year and month is close the calendar and it show the select date in MM/YYYY format that also in some specific field not in complete application.

Show only year and month view
year-month-view

Hide date view
date-views

regrading #9246

I try parseDate and formatDate methods on the $mdDateLocaleProvider but it format the date when date is selected from the calendar, if date enter using keyboard in number format (08052016) it not get formatted as (08/05/2016) and if make the change in mdDatelocalProvider than the date format change every where in application, just need to change the date format in some specific field only

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions