I have dropdown select that consumes it options from a REST API, which is populated with those values. What I want to do is insert default option value into the dropdown select. This is my code snippet, but the default value "Select Bill Type" does not show:
<select className="form-control" id="billType" value={audit.crgBilltype.Value} onChange={(e) => this.handleBillTypeChange(e)} >
<option selected="selected">Select Bill Type</option>
{Object.keys(billTypeToIdMap).map(id => <option value={id} key={id}>{billTypeToIdMap[id]}</option>)}
</select>
Could I get some help with this?