set field value in variable 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}