binxie
2023-06-26 b5c5eb130ca0848124f9d136af4be142ad5aac07
force-app/main/default/lwc/customOutboundCountComp/customOutboundCountComp.js
@@ -5,6 +5,7 @@
    @api recordId;
    @api count;
    connectedCallback() {
        console.log('enter CustomOutboundCountComp');
        console.log('isDisable = ' + this.isDisable);
@@ -13,18 +14,16 @@
    }
    outboundCountBlur(event) {
        console.log('outboundCountBlur');
        console.log('outboundCountBlur')
        this.count = event.target.value;
        this.dispatchEvent(
            new CustomEvent('outboundcount', {
        this.dispatchEvent(new CustomEvent('outboundcount', {
                composed: true,
                bubbles: true,
                cancelable: true,
                detail: {
                    data: { count: this.count, recordId: this.recordId }
                }
            })
        );
        }));
    }
}