Here i can pass only one value.but i want to pass multiple value.if i select multiple value but Db can take first value only
SelectUserName() {
return (this.state.data.map(data => ({ label: data.UserName, value: data.Id })))
}
Here i can pass only one value.but i want to pass multiple value.if i select multiple value but Db can take first value only
SelectUserName() {
return (this.state.data.map(data => ({ label: data.UserName, value: data.Id })))
}
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Md SarfarajRank #194 · 12.4K reputationPosted Jul 16, 2021, 6:13 AM EDT
Puneet KankarRank #446 · 5.6K reputationPosted Jul 17, 2021, 12:39 PM EDT