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'

Arvind KushwahaRank #685 · 3.5K reputationPosted May 17, 2020, 6:40 AM EDT
Harshal LimayeRank #485 · 5.1K reputationPosted Jan 3, 2021, 6:54 AM EST
Sachin SinghRank #66 · 26.2K reputationPosted Jan 3, 2021, 7:32 AM EST
Kiran MohantyRank #821 · 2.8K reputationPosted Jan 4, 2021, 2:39 AM EST
Siddharth GajbhiyeRank #376 · 6.7K reputationPosted Jan 12, 2021, 12:16 AM EST