Hi everyone 🖐
As shown in the image above, I have no property style in my whole code, and I was not getting this error before, no details on the origin of this error, this error stops the code from continue after firing an onClick() event handler.
$w(`#submitRequestsBtn${direction}`).onClick(async(submitEvent) => {
if (selectedItems.quantity > 0) {
await toggleTitle('hide')
$w('#requestStages').changeState('loadingStage').then(async () => {
let evidenceIndexEach = 0;
await $w(`#orderContentRep${direction}`).forEachItem(async ($chosenProduct, chosenProductData, chosenProductIndex) => {
// The rest of the code goes here
if (chosenProductIndex + 1 === $w(`#orderContentRep${direction}`).data.length) {
console.info('Evidence Items', evidenceItems)
// The code stops here after logging the items
}
})
})
} else {
console.warn('No items selected');
}
})
I have no idea what's the reason behind it. Any ideas?
Thanks in advance.
Ahmad
The bug is fixed, thanks!
Hey Ahmad, I'll pass this on to QA.