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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Puneet KankarPosted Jul 17, 2021, 4:39 PM
Md SarfarajPosted Jul 16, 2021, 10:13 AM