-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[FormControl] Fix label shrink on invalid input value #30424
[FormControl] Fix label shrink on invalid input value #30424
Conversation
21c642b
to
16815b8
Compare
Doesn't look like it works, I've tested it here in the first Steps to reproduce:
|
Hey @mnajdova, |
Hi there, has been a while that I don't look into this issue. It is clear that the way is to test |
Hey @danilo-leal looking into the code it seems that the component is |
@wladimirguerra we usually use the text field label for Form Control PRs and issues. I guess it does make sense to create one label for it specifically, especially because it's available in the Base package as well. But anyway, off-topic to the PR :) |
@material-ui/core: parsed: -3.38% 😍, gzip: -2.90% 😍 |
…Box prop (mui#29954) Co-authored-by: Gonçalo Vieira Figueiredo <me@goncalovf.com>
Fixed typo (contraints --> constraints)
Co-authored-by: siriwatknp <siriwatkunaporn@gmail.com>
👋 The migration PR has been merged. Please follow these steps to make sure that the contents are all updated. (Sorry for the inconvenience)
If you are struggle with the steps above, feel free to tag @siriwatknp |
I am very sorry, I have missed this notification. In the root you should be able to run:
This will run the docs locally. Before pushing always make sure that you have run:
These comments should make sure the CI is green. You should also check
|
I suggest closing this PR and creating a new one due to the code conflicts are very large (too risky) |
Ok @siriwatknp I will do that. |
I have made changes in |
I tried to create some test cases, but there is an issue in testing-library that is not easy to work around. Because of that, I couldn't properly test my changes. I will look a little deeper to find a workaround to the test case. Anyway, ASAP when I get things working I will open another PR. Regards |
@wladimirguerra feel free to open the PR in draft version and ping someone from the core team to help with the tests if you are stack. |
Hi there, here is the new attempt to fix the problem. |
Here is the fix. I believe integration tests in different browsers are needed but I don't know how to do it. Does anyone can help me on this?
Closes: #29469