I have the following code:
const microform = new Flex(this.captureContext).microform({ styles: this.myStyles })
const securityCodeField = this.microform?.createField('securityCode', { placeholder: '•••' })
securityCodeField?.load('#securityCode-container')
When the load function is call I have error in my console
I tried getting the error like so :
securityCodeField.on('error', (e) => { console.error(e) });
but nothing ever get outputted to the console.
This happens because the load event only gets fired after the "15 minutes period" of the Capture Context created by the server side.
Why is this not catch in the On Error handler ?
01-26-2024 09:22 AM