here display label name.and value also name.but i want to display label is name and passing the userid for value
var defaultValueArr = [];
Details.map((Det)=>{
Det.name.split(',').map((e)=>{
defaultValueArr.push({ label:e, value: e});
});
});
here display label name.and value also name.but i want to display label is name and passing the userid for value
var defaultValueArr = [];
Details.map((Det)=>{
Det.name.split(',').map((e)=>{
defaultValueArr.push({ label:e, value: e});
});
});
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.
Pradeep SahooPosted Aug 8, 2021, 4:24 PM