Mantine React Combobox how to get key. form dowpdown option
const listOptions = filteredOptions.map((item) => ( <Combobox.Option value={item.label} key={`${item.id}`}> {item.label} </Combobox.Option> )); return ( <Combobox onOptionSubmit={(value, (Ideally key is here) => { console.log(‘value’, value); console.log(‘key’, key); <– how do I fetch this value? }} given that my key is the ID of my item I would like to get the key value from my Combobox.Option. […]