Check out example codes for "javascript set html select value". It will help you in understanding the concepts better.

Code Example 1

// Get the html select element
var select = document.getElementById('<your select element id>');

// If you have a <option> like this:
// <option value="1">My Value Display text</option>

//Then your selected value of your select would be:

select.value = "1";

Learn ReactJs, React Native from