I use the select from the jimu-ui .
Here is my question. I have a clear button to enable the user to reset all the controlled components on the ui to their original state. I am using the placeholder for the select. How do I display the placeholder value when the clear button is pressed?
I can use the setState to return the Select to its original value, but not the placeholder text on the display.
Use of the ref won't help since it doesn't re-render.