[TextField] Adding the ability to call select on the TextField input#3287
[TextField] Adding the ability to call select on the TextField input#3287alitaheri merged 1 commit intomui:masterfrom
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.