good day does someone encountered this? i debug it and the error is in the inittimer
is there a way to fix this?
Hi @jesu verso
This error comes usually when you're trying to access a property like TotalSeconds on an object that is null or undefined .Confirm that TotalSeconds is not null or undefined when you access this object.
Thanks
There is no totalseconds in the backend
Hi jesu,
Can you share more details about how you implemented this component?
Also did you check the Demo of the component to make sure you're using it correctly?
yes checked the demo and the total sceonds but nope there is no backend of totalseconds
This usually happens when InitTimer is executed before the timer component is actually rendered in the DOM.
What can you try:
Its JavaScript error. In Outsytems, this error usually comes from the late loading issue. Which means the UI is not completely rendered, and the JavaScript tries to get the DOM element's attribute. In this case, it tries to get the totalSeconds attribute when the element is not rendered on UI yet.
You can add the bounce or the condition to let the screen knows when the data is ready for countdown timer to be rendered on UI