let emitObj = {};
emitObj[srchTxtlabel] = this.val1;
this.AdvancedSrchEvent.emit(emitObj)
2
solved typescript anonymous object with variable based label value
let emitObj = {};
emitObj[srchTxtlabel] = this.val1;
this.AdvancedSrchEvent.emit(emitObj)
2
solved typescript anonymous object with variable based label value