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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

v5: min, max, maxLength missing for input props #25389

Closed
1 task done
dohomi opened this issue Mar 17, 2021 · 3 comments
Closed
1 task done

v5: min, max, maxLength missing for input props #25389

dohomi opened this issue Mar 17, 2021 · 3 comments
Labels
component: text field This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists

Comments

@dohomi
Copy link
Contributor

dohomi commented Mar 17, 2021

  • I have searched the issues of this repository and believe that this is not a duplicate.

Summary 馃挕

On Input or TextField component the min, max, `maxLength
props are not being forwarded and also not available with TypeScript. I think this is a regression from v4?

Screenshot 2021-03-17 at 11 21 45

@dohomi dohomi added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Mar 17, 2021
@oliviertassinari oliviertassinari added duplicate This issue or pull request already exists and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Mar 17, 2021
@oliviertassinari
Copy link
Member

oliviertassinari commented Mar 17, 2021

Use inputProps.

@oliviertassinari oliviertassinari added the component: text field This is the name of the generic UI component, not the React module! label Mar 17, 2021
@oliviertassinari
Copy link
Member

Duplicate of #1578

@oliviertassinari oliviertassinari marked this as a duplicate of #1578 Jul 28, 2021
@Rado-Slav
Copy link

Hey, I am currently testing the maxLength option inside TextField and it seems it doesn't work in version 5? Is it working with Input component? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: text field This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants