-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[TextField] Adding the ability to call select on the TextField input #3287
Conversation
We try to remove as many imperative methods as possible. |
I was using I do think maybe having the function |
You are right, but we will always try to be backward compatible with a deprecation notice before removing it. |
My only fear with having the |
@callemall/material-ui I'm fine with this PR until we have a better option for |
@oliviertassinari We shouldn't deprecate these, these are valid use cases, we'll use warpgate later. and merging this won't introduce a breaking change later on. I'm going to merge this for now 👍 |
[TextField] Adding the ability to call select on the TextField input
Oh shoot, we removed isMounted! I'll fix it rightaway. |
This was introduced with mui#3287 as migration from isMounted happened after this PR was opened.
This was introduced with mui#3287 as migration from isMounted happened after this PR was opened.
This was introduced with mui#3287 as migration from isMounted happened after this PR was opened.
I would like a similar function like focus to exist for selecting the text inside the input on the TextField component. Here is a pull request adding that in.