<DropDownList
style={{ height: "30px" }}
defaultValue="Select unit..."
textField='name'
value={unitsPressureSelected}
dataItemKey='id'
onChange={(e) => {
console.log("here")
setUnitsPressureSelected(e.target.value);
}}
data={unitsPressure}
/>
Hello! I'm trying to implement the following dropdown but the default value is not visible and I don't understand what's wrong. Could you give me a hint? Thanks!
Rebeca.