When passing an empty string to Autocomplete, it throws a console warning saying that the value is invalid.
How do I get this warning to go away? It doesn't cause any issues, but it extremely annoying to have this thrown in the console for every rerender. The only way I seem to get it to not happen is setting the initial value for the field as null, which in my understanding is not what I should be putting as a default value of an input.
Current Behavior 😯
When passing the default value of empty string to the Autocomplete component, it throws a console warning that the value empty string is invalid.
Expected Behavior 🤔
If the value given to the Autocomplete is an empty string, there should be no warning or errors thrown.
Steps to Reproduce 🕹
Here is a link to showcase the error: https://codesandbox.io/s/material-demo-n0ijt
1) Pass an empty string to the value property of Autocomplete component.