selvi jp

selvi jp

  • NA
  • 323
  • 78.9k

How can i get selected option from Api get method react dropdown

Jul 19 2021 9:08 AM

I want to get selected option value from db for edit page

{Details.map(Det=> <Select value={Det.user_id} placeholder={"Select Mates"} onChange={this.dropdownhandleChange} options={Dropdownlist.map(e => ({ label: e.UserName, value: e.Id}))} isMulti } /> )}