Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to disable/remove the year picker within the modal #80

Open
ricohumme opened this issue May 19, 2021 · 4 comments
Open

How to disable/remove the year picker within the modal #80

ricohumme opened this issue May 19, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@ricohumme
Copy link

Hi,

I'm trying to remove the year picker in the modal but so far I'm not finding a solution for this.
The year picker shows the years from 1800 to 2200.
I've tried limiting these results all together by adding the validRange property, but this only seems to work on the calendar and does not limit the years in the picker.

How would I get this done?

Thanks in advance !

@RichardLindhout RichardLindhout added the enhancement New feature or request label May 19, 2021
@RichardLindhout
Copy link
Member

Not possible a.t.m. but looks like a good enhancement. Is there something written on this in the Material Design Spec

@ricohumme
Copy link
Author

Wouldn't know where to look for this on material.io/design. under which section should this be?

@francesco-clementi-92
Copy link

I'd like also the possibility to select only month and year.

It's a common use case to select just the month and the year.

@RichardLindhout
Copy link
Member

@francesco-clementi-92 please create a different issue for that, I'll add it to the enhancement list then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants