import { LightningElement,api, track } from 'lwc'; export default class LexCustomDiffReasonComp extends LightningElement { @api prodId; @track DiffReason = ''; connectedCallback(){ console.log('ProdId'+this.prodId); } diffReasonBlur(event){ console.log('LexCustomDiffReasonComp') this.DiffReason = event.target.value; this.dispatchEvent(new CustomEvent('diffreasons', { composed: true, bubbles: true, cancelable: true, detail: { data: { DiffReason: this.DiffReason, ProdId: this.prodId } } })); } }