Hi, I have a dropdown rendering a list from an array of objects. I have used the prop 'defaultValue' to have a value preselected while loading. I want to implement a clear button functionality where clicking the button resets back the selected value to the default value. Please advice.
Here is the stackblitz url: https://stackblitz.com/edit/react-xzennu?file=app/main.js