Bound the selected value of the selects into the state in the react example to allow first element to be selected when data is refreshed