selvi jp

selvi jp

  • 1.7k
  • 290
  • 15.5k

How can i get selected value from Db in react multiselect dropdown

Jul 17 2021 1:49 PM

This is my code .I want to get selected option from db

<Select placeholder={"Select Mates"} onChange={handleChange} options={data.map(e => ({ label: e.UserName, value: e.Id}))} isMulti required="true" theme={theme => ({ ...theme, colors: { ...theme.colors, neutral50: 'white', }, })} />


Answers (1)