We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When clearing a multiselect the label should get inactive again and the formcontrol should lose dirty state again.
The label stays active.
Select an item in current multiselect docs and then deselect it again - the label will stay active.
I can fix it locally by adding
this.checkDirty(nextProps);
to https://github.com/callemall/material-ui/blob/v1-beta/src/Input/Input.js#L377 but I don't understand why componentWillUpdate doesn't fire when items get unselected :/
The text was updated successfully, but these errors were encountered:
The root of the issue is in #5186 where the focus, hover and selected state have the same UI.
Sorry, something went wrong.
No branches or pull requests
Expected Behavior
When clearing a multiselect the label should get inactive again and the formcontrol should lose dirty state again.
Current Behavior
The label stays active.
Reproduction
Select an item in current multiselect docs and then deselect it again - the label will stay active.
I can fix it locally by adding
to https://github.com/callemall/material-ui/blob/v1-beta/src/Input/Input.js#L377 but I don't understand why componentWillUpdate doesn't fire when items get unselected :/
The text was updated successfully, but these errors were encountered: