set value to input react code example
Example: setting state value with variable value for non form control
set custom state for non form control which will passed on submit and retrieved part of this.state on submit
{this.state.SInstName = srepoSelect.instname}