You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for the Textbox component it appears you have to use "inputProps" to use the max and min properties on a numeric type, but to have the InputAdornment you have to use "InputProps". This is both confusing to reading the code, and also eslint does not like duplicate props for a component
[x ] The issue is present in the latest release.
[ x] I have searched the issues of this repository and believe that this is not a duplicate.
Current Behavior 😯
To use the min and max properties you have to declare it in "inputProps" and to use adornments you have to use "InputProps" or else they will not work. Currently eslint throws a warning about no duplicated props.
Expected Behavior 🤔
should not be two props with the same name (ignoring capitalization)
@coch110149 This concern has been explored in the past. #14580 is the most up-to-date effort. It's a non-trivial problem. You can find more related issues in #11377 (comment).
for the Textbox component it appears you have to use "inputProps" to use the max and min properties on a numeric type, but to have the InputAdornment you have to use "InputProps". This is both confusing to reading the code, and also eslint does not like duplicate props for a component
Current Behavior 😯
To use the min and max properties you have to declare it in "inputProps" and to use adornments you have to use "InputProps" or else they will not work. Currently eslint throws a warning about no duplicated props.
Expected Behavior 🤔
should not be two props with the same name (ignoring capitalization)
Steps to Reproduce 🕹
https://codesandbox.io/embed/material-demo-3kqy3
Steps:
Context 🔦
Your Environment 🌎
The text was updated successfully, but these errors were encountered: