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

maxLenght for material ui date picker #18270

Closed
shelver2004 opened this issue Nov 8, 2019 · 1 comment
Closed

maxLenght for material ui date picker #18270

shelver2004 opened this issue Nov 8, 2019 · 1 comment
Labels
support: Stack Overflow Please ask the community on Stack Overflow

Comments

@shelver2004
Copy link

Hello friends. I have seen a couple of threads for specifying length for textField but not date.
how do i limit the maxlength for a date? i tried this code and it doesnt work

<TextField
type="date"
id="standard-basic"
inputProps={{
maxLength: 6,
}}
/>

@eps1lon eps1lon added the support: Stack Overflow Please ask the community on Stack Overflow label Nov 8, 2019
@support
Copy link

support bot commented Nov 8, 2019

👋 Thanks for using Material-UI!

We use GitHub issues exclusively as a bug and feature requests tracker, however,
this issue appears to be a support request.

For support, please check out https://material-ui.com/getting-started/support/. Thanks!

If you have a question on StackOverflow, you are welcome to link to it here, it might help others.
If your issue is subsequently confirmed as a bug, and the report follows the issue template, it can be reopened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support: Stack Overflow Please ask the community on Stack Overflow
Projects
None yet
Development

No branches or pull requests

2 participants