I've got this ReactSelect and would like to change the displayed value with JavaScript DOM
<div class="ReactSelect"><Select id="quarter" options={optionsQuarter}/></div>
Things like
document.getElementById("quarter").value = "..."
won't work, so i think that i have to use a onChange function but i dont know how to access that when i change the value in another method?