I work on angular 7 i need to replace comma separated , when push data
initcollectdropdowslist=[];
collectfulldata:string;
- let textdata=$event.target.options[$event.target.options.selectedIndex].text;
- let statusdata:any = this.FilterBinddata.filter(s=>s.reportSource==textdata)[0].reportSource2;
- this.collectfulldata= statusdata + "=" + "'" + textdata + "'";
- this.initcollectdropdowslist.push(this.collectfulldata);
- console.log("full data is " + this.initcollectdropdowslist)
- full data is Text6='Lifecycle',Text6='Package',Text6='Parametric'
- full data is Text6='Lifecycle'and Text6='Package' and Text6='Parametric'
Siddharth GajbhiyePosted Jan 12, 2021, 5:16 AM
Kiran MohantyPosted Jan 4, 2021, 7:39 AM
Sachin SinghPosted Jan 3, 2021, 12:32 PM
Harshal LimayePosted Jan 3, 2021, 11:54 AM
Arvind KushwahaPosted May 17, 2020, 10:40 AM