selvi jp

selvi jp

  • 1.8k
  • 201
  • 8.4k

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 } /> )}